diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 3194bf09..2a76f759 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1120,8 +1120,7 @@ int main(int argc, char *argv[]) if (((CharSelectDialog*) currentDialog)-> selectByName(options.character)) { - ((CharSelectDialog*) currentDialog)->action( - gcn::ActionEvent(NULL, "ok")); + ((CharSelectDialog*) currentDialog)->chooseSelected(); } else { ((CharSelectDialog*) currentDialog)->selectByName( config.getValue("lastCharacter", "")); |