mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-19 02:48:49 +00:00
Fixed omnibar Esc shortcut
This commit is contained in:
parent
f662360524
commit
a3adfab8c3
@ -40,7 +40,7 @@ Omnibar::Omnibar(MainWindow *main, QWidget *parent) :
|
||||
// Esc clears omnibar
|
||||
QShortcut *clear_shortcut = new QShortcut(QKeySequence(Qt::Key_Escape), this);
|
||||
connect(clear_shortcut, SIGNAL(activated()), this, SLOT(clear()));
|
||||
clear_shortcut->setContext(Qt::WidgetShortcut);
|
||||
clear_shortcut->setContext(Qt::WidgetWithChildrenShortcut);
|
||||
}
|
||||
|
||||
void Omnibar::setupCompleter()
|
||||
|
Loading…
Reference in New Issue
Block a user