From 7d09a35a7d0d6102c238cba0531d623fa137501f Mon Sep 17 00:00:00 2001 From: Rogier Polak Date: Sat, 3 Mar 2007 18:19:49 +0000 Subject: Fixed auto-character-select and switch_character combination. Added svn-properties keyword and eol-style, where appropriate. --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main.cpp') 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: -- cgit v1.2.3-70-g09d2