mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-06 05:53:08 +00:00
Select text in find dialog when opening it e.g. with ctrl-f
This commit is contained in:
1 file changed
+1
@@ -117,6 +117,7 @@ void FindReplace::setDirection(SearchDirection dir)
|
||||
void FindReplace::takeFocus()
|
||||
{
|
||||
ui->findText->setFocus();
|
||||
ui->findText->lineEdit()->selectAll();
|
||||
}
|
||||
|
||||
void FindReplace::keyPressEvent(QKeyEvent *event)
|
||||
|
||||
Reference in new issue
Block a user