summaryrefslogtreecommitdiff
path: root/ldmicro/commentdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ldmicro/commentdialog.cpp')
-rw-r--r--ldmicro/commentdialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ldmicro/commentdialog.cpp b/ldmicro/commentdialog.cpp
index 1b7bffe..8e29528 100644
--- a/ldmicro/commentdialog.cpp
+++ b/ldmicro/commentdialog.cpp
@@ -67,6 +67,7 @@ void ShowCommentDialog(char *comment)
CommentGrid = new QGridLayout(CommentDialog);
MakeControls();
CommentTextbox->setText(comment);
+ CommentTextbox->setFocus();
int ret = CommentDialog->exec();
switch(ret)
{