mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-08 00:40:02 +01:00
hide history with ESC
This commit is contained in:
@@ -372,9 +372,10 @@ void UserInterface::handleKeyboard()
|
|||||||
else if (navigator.pannelVisible())
|
else if (navigator.pannelVisible())
|
||||||
navigator.hidePannel();
|
navigator.hidePannel();
|
||||||
// 3. hide windows
|
// 3. hide windows
|
||||||
else if (Settings::application.widget.preview || Settings::application.widget.media_player) {
|
else if (Settings::application.widget.preview || Settings::application.widget.media_player || Settings::application.widget.history) {
|
||||||
Settings::application.widget.preview = false;
|
Settings::application.widget.preview = false;
|
||||||
Settings::application.widget.media_player = false;
|
Settings::application.widget.media_player = false;
|
||||||
|
Settings::application.widget.history = false;
|
||||||
}
|
}
|
||||||
// 4. cancel selection
|
// 4. cancel selection
|
||||||
else if (!Mixer::selection().empty()) {
|
else if (!Mixer::selection().empty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user