mirror of
https://github.com/x64dbg/x64dbg.git
synced 2024-11-24 05:19:55 +00:00
Pass Escape key event if search text is empty
Was blocking Esc from closing Attach window.
This commit is contained in:
parent
48d81226ed
commit
d68e1d44a8
@ -355,7 +355,12 @@ bool SearchListView::eventFilter(QObject* obj, QEvent* event)
|
||||
return true;
|
||||
}
|
||||
if(key == Qt::Key_Escape)
|
||||
clearFilter();
|
||||
{
|
||||
if(mFilterText.isEmpty())
|
||||
return QWidget::eventFilter(obj, event);
|
||||
else
|
||||
clearFilter();
|
||||
}
|
||||
if(!mSearchBox->text().isEmpty())
|
||||
{
|
||||
switch(key)
|
||||
|
Loading…
Reference in New Issue
Block a user