summaryrefslogtreecommitdiff
path: root/src/plugins/resourceeditor/qrceditor/qrceditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/resourceeditor/qrceditor/qrceditor.cpp')
-rw-r--r--src/plugins/resourceeditor/qrceditor/qrceditor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/resourceeditor/qrceditor/qrceditor.cpp b/src/plugins/resourceeditor/qrceditor/qrceditor.cpp
index 8384ab0a34..e17de86b44 100644
--- a/src/plugins/resourceeditor/qrceditor/qrceditor.cpp
+++ b/src/plugins/resourceeditor/qrceditor/qrceditor.cpp
@@ -391,6 +391,8 @@ void QrcEditor::onAddPrefix()
QUndoCommand * const addEmptyPrefixCommand = new AddEmptyPrefixCommand(m_treeview);
m_history.push(addEmptyPrefixCommand);
updateHistoryControls();
+ m_ui.prefixText->selectAll();
+ m_ui.prefixText->setFocus();
}
// Slot for 'Undo' button