Commit 57df796d authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Fix 'The initial cursor position in the properties dialog of a state should be...

Fix 'The initial cursor position in the properties dialog of a state should be set to the name field'

BUG:415784
FIXED-IN:2.30.1 (KDE Applications 19.12.1)
parent 7c40aa2d
......@@ -206,6 +206,7 @@ void ActivityDialog::setupGeneralPage()
m_GenPageWidgets.nameLE->setText(QString());
} else
m_GenPageWidgets.nameLE->setText(m_pActivityWidget->name());
m_GenPageWidgets.nameLE->setFocus();
}
/**
......
......@@ -216,6 +216,7 @@ void StateDialog::setupGeneralPage()
m_GenPageWidgets.docWidget = new DocumentationWidget(m_pStateWidget);
generalLayout->addWidget(m_GenPageWidgets.docWidget, row, 0, 1, 2);
m_GenPageWidgets.nameLE->setFocus();
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment