diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 7fa996af..1e7ae32d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -853,8 +853,12 @@ int main(int argc, char *argv[]) config.getValue("lastCharacter", "")); if (options.chooseDefault) + { ((CharSelectDialog*) currentDialog)->action( gcn::ActionEvent(NULL, "ok")); + options.chooseDefault = false; + } + break; case STATE_UNREGISTER_ATTEMPT: |