Commit 3fd4c18f authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈
Browse files

focus lineedits for bug info page

otherwise we'd have the cancel button focus which isn't terribly useful
this late into the wizard. meanwhile focusing the lineedits means an
experienced reporter can get typing right away

BUG: 428350
parent d02d5243
......@@ -413,6 +413,14 @@ void BugzillaInformationPage::checkTexts()
// Force focus on the first input field for ease of use.
if (showTitle) {
} else {
bool ok = !((ui.m_titleEdit->isVisible() && ui.m_titleEdit->text().isEmpty())
|| ui.m_detailsEdit->toPlainText().isEmpty());
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