From f1672c42a318b5a5f579a7960c1ef5827387c39b Mon Sep 17 00:00:00 2001 From: Garux Date: Wed, 2 Nov 2022 09:55:25 +0300 Subject: [PATCH] EntityInspector::Key field::enter: in addition to jumping to Value field selectAll() it --- radiant/entityinspector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radiant/entityinspector.cpp b/radiant/entityinspector.cpp index 0d0a6cbd..220899fb 100644 --- a/radiant/entityinspector.cpp +++ b/radiant/entityinspector.cpp @@ -1231,7 +1231,7 @@ QWidget* EntityInspector_constructWindow( QWidget* toplevel ){ { auto line = g_entityKeyEntry = new QLineEdit; grid->addWidget( line, 0, 1 ); - QObject::connect( line, &QLineEdit::returnPressed, [](){ g_entityValueEntry->setFocus(); } ); + QObject::connect( line, &QLineEdit::returnPressed, [](){ g_entityValueEntry->setFocus(); g_entityValueEntry->selectAll(); } ); } {