From 1f8243c48afebb9d9c75664b64d4a9e0da730fd1 Mon Sep 17 00:00:00 2001 From: lupoDharkael Date: Tue, 25 Jul 2017 00:12:47 +0200 Subject: [PATCH] Set focus in lineEdit after adding variables to the filename pattern --- src/config/filenameeditor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config/filenameeditor.cpp b/src/config/filenameeditor.cpp index 39ca15ce..3daec8dc 100644 --- a/src/config/filenameeditor.cpp +++ b/src/config/filenameeditor.cpp @@ -101,4 +101,5 @@ void FileNameEditor::resetName() { void FileNameEditor::addToNameEditor(QString s) { m_nameEditor->setText(m_nameEditor->text() + s); + m_nameEditor->setFocus(); }