Avoids Locallab treeview search popup, fixes #5265

Thanks to Beep6581

Others:
- Cleanup/improvements of controlspotpanel constructor
This commit is contained in:
Pandagrapher
2019-04-18 20:09:45 +02:00
parent 152d8c3879
commit 853a6f0e2c
3 changed files with 101 additions and 77 deletions

View File

@@ -1687,6 +1687,11 @@ bool EditorPanel::handleShortcutKey (GdkEventKey* event)
case GDK_KEY_F5:
openThm->openDefaultViewer (3);
return true;
case GDK_KEY_f:
case GDK_KEY_F:
// No action is performed to avoid Gtk-CRITICAL due to Locallab treeview when treeview isn't focused
return true;
}
} //if (!ctrl)
} //if (!alt)