summaryrefslogtreecommitdiff
path: root/ldmicro/resetdialog.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/resetdialog.cpp
parentf6250bab468eadfc020922040966d6ba75edd341 (diff)
downloadLDmicroQt-acd4a8caeee6e40469b879c892abb26780a5f8e5.tar.gz
LDmicroQt-acd4a8caeee6e40469b879c892abb26780a5f8e5.tar.bz2
LDmicroQt-acd4a8caeee6e40469b879c892abb26780a5f8e5.zip
Set initial focus controls for dialogboxes
Diffstat (limited to 'ldmicro/resetdialog.cpp')
-rw-r--r--ldmicro/resetdialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ldmicro/resetdialog.cpp b/ldmicro/resetdialog.cpp
index 0d155b8..ba79def 100644
--- a/ldmicro/resetdialog.cpp
+++ b/ldmicro/resetdialog.cpp
@@ -99,6 +99,7 @@ void ShowResetDialog(char *name)
TypeCounterRadio->setChecked(TRUE);
}
NameTextbox->setText(name + 1);
+ NameTextbox->setFocus();
int ret = ResetDialog->exec();
switch(ret)