Fix inspector window sometimes not hiding

When the f shortcut is quickly pressed, the inspector window will
sometimes open and remain open even though it should automatically
close. This commit ensures the window closes by capturing the f key
release event from the main window in addition to the inspector window.
This commit is contained in:
Lawrence Lee
2021-04-25 17:05:02 -07:00
parent 61aba8ad08
commit 67e18b5c53
8 changed files with 46 additions and 0 deletions

View File

@@ -81,6 +81,7 @@ public:
bool imageLoaded( Thumbnail* thm, ProgressConnector<rtengine::InitialImage*> * );
bool handleShortcutKey (GdkEventKey* event);
bool handleShortcutKeyRelease(GdkEventKey *event);
void updateTPVScrollbar (bool hide);
private: