diff options
author | akshay-c | 2019-05-07 12:05:55 +0530 |
---|---|---|
committer | akshay-c | 2019-05-07 12:05:55 +0530 |
commit | acd4a8caeee6e40469b879c892abb26780a5f8e5 (patch) | |
tree | ec13b7f96900b8d3bdd19a786223a856c027ce1b /ldmicro/commentdialog.cpp | |
parent | f6250bab468eadfc020922040966d6ba75edd341 (diff) | |
download | LDmicroQt-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.cpp | 1 |
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) { |