From 361c4fd22e57d7db6b42a13fbf2fb91115b5ff2b Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Wed, 15 Jan 2020 09:05:23 +0500 Subject: [PATCH] UI: ProgramsWindow: Minor tweak. --- src/ui/form/prog/programswindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/form/prog/programswindow.cpp b/src/ui/form/prog/programswindow.cpp index c0b25898..01b979ca 100644 --- a/src/ui/form/prog/programswindow.cpp +++ b/src/ui/form/prog/programswindow.cpp @@ -522,6 +522,8 @@ void ProgramsWindow::updateAppEditForm(bool editCurrentApp) m_editPath->setText(appRow.appPath); m_editPath->setReadOnly(editCurrentApp); m_editPath->setClearButtonEnabled(!editCurrentApp); + m_editPath->selectAll(); + m_editPath->setFocus(); m_btSelectFile->setEnabled(!editCurrentApp); m_editName->setText(appRow.appName); m_comboAppGroup->setCurrentIndex(appRow.groupIndex);