From e7fdf567fe53e45c00564dc1b5244e81686e89e6 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Tue, 18 Jan 2005 13:48:07 +0000 Subject: Fixed pattern drawing and focus on Ok/Select buttons for first dialogs. --- src/gui/char_select.cpp | 1 + src/gui/char_server.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'src/gui') diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp index 3e509727..5032b196 100644 --- a/src/gui/char_select.cpp +++ b/src/gui/char_select.cpp @@ -99,6 +99,7 @@ CharSelectDialog::CharSelectDialog(): newCharButton->addActionListener(this); delCharButton->addActionListener(this); + selectButton->requestFocus(); setLocationRelativeTo(getParent()); } diff --git a/src/gui/char_server.cpp b/src/gui/char_server.cpp index 5b3992f1..cb1d3659 100644 --- a/src/gui/char_server.cpp +++ b/src/gui/char_server.cpp @@ -75,6 +75,7 @@ ServerSelectDialog::ServerSelectDialog(): serverList->setSelected(1); } + okButton->requestFocus(); setLocationRelativeTo(getParent()); } -- cgit v1.2.3-70-g09d2