Merge pull request #5593 from rfranke/issue1474

Open inspector fullscreen and exploit monitor resolution, see #1474, #5591
This commit is contained in:
Ingo Weyrich
2020-07-28 18:24:50 +02:00
committed by GitHub
5 changed files with 281 additions and 16 deletions

View File

@@ -42,6 +42,7 @@
#include "pathutils.h"
#include "thumbnail.h"
#include "toolbar.h"
#include "inspector.h"
using namespace std;
@@ -2508,6 +2509,15 @@ bool FileCatalog::handleShortcutKey (GdkEventKey* event)
}
}
if (!ctrl && !alt) {
switch (event->keyval) {
case GDK_KEY_f:
case GDK_KEY_F:
fileBrowser->getInspector()->showWindow(!shift);
return true;
}
}
return fileBrowser->keyPressed(event);
}