EntityInspector::Key field::enter: in addition to jumping to Value field selectAll() it
This commit is contained in:
parent
3d5114cf02
commit
f1672c42a3
|
|
@ -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(); } );
|
||||
}
|
||||
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user