summaryrefslogtreecommitdiff
path: root/ldmicro/commentdialog.cpp
diff options
context:
space:
mode:
authorakshay-c2019-05-07 12:05:55 +0530
committerakshay-c2019-05-07 12:05:55 +0530
commitacd4a8caeee6e40469b879c892abb26780a5f8e5 (patch)
treeec13b7f96900b8d3bdd19a786223a856c027ce1b /ldmicro/commentdialog.cpp
parentf6250bab468eadfc020922040966d6ba75edd341 (diff)
downloadLDmicroQt-acd4a8caeee6e40469b879c892abb26780a5f8e5.tar.gz
LDmicroQt-acd4a8caeee6e40469b879c892abb26780a5f8e5.tar.bz2
LDmicroQt-acd4a8caeee6e40469b879c892abb26780a5f8e5.zip
Set initial focus controls for dialogboxes
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)
{