summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-18 13:48:07 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-18 13:48:07 +0000
commite7fdf567fe53e45c00564dc1b5244e81686e89e6 (patch)
tree29f6bddb541c50d5f3c6b1cd24067d3c6775c869 /src/gui
parent39ea054b214612ae7d56a01884904dcb63181598 (diff)
downloadmana-e7fdf567fe53e45c00564dc1b5244e81686e89e6.tar.gz
mana-e7fdf567fe53e45c00564dc1b5244e81686e89e6.tar.bz2
mana-e7fdf567fe53e45c00564dc1b5244e81686e89e6.tar.xz
mana-e7fdf567fe53e45c00564dc1b5244e81686e89e6.zip
Fixed pattern drawing and focus on Ok/Select buttons for first dialogs.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/char_select.cpp1
-rw-r--r--src/gui/char_server.cpp1
2 files changed, 2 insertions, 0 deletions
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());
}