mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 16:36:31 +00:00
Allow find text to be preserved when closed and reopened
This commit is contained in:
@@ -3685,9 +3685,8 @@ void EventBrowser::on_HideFind()
|
||||
|
||||
ui->find->setChecked(false);
|
||||
|
||||
ui->findEvent->setText(QString());
|
||||
m_Model->SetFindText(QString());
|
||||
updateFindResultsAvailable(false);
|
||||
ui->findEvent->setPalette(palette());
|
||||
}
|
||||
|
||||
void EventBrowser::findHighlight_timeout()
|
||||
@@ -4652,11 +4651,14 @@ void EventBrowser::on_filterExpression_keyPress(QKeyEvent *e)
|
||||
|
||||
filter_apply();
|
||||
}
|
||||
|
||||
if(e->key() == Qt::Key_Down)
|
||||
else if(e->key() == Qt::Key_Down)
|
||||
{
|
||||
ShowSavedFilterCompleter(ui->filterExpression);
|
||||
}
|
||||
else
|
||||
{
|
||||
events_keyPress(e);
|
||||
}
|
||||
}
|
||||
|
||||
void EventBrowser::filter_forceCompletion_keyPress(QKeyEvent *e)
|
||||
|
||||
Reference in New Issue
Block a user