summaryrefslogtreecommitdiff
path: root/src/gui/buysell.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2006-10-09 01:15:05 +0000
committerYohann Ferreira <bertram@cegetel.net>2006-10-09 01:15:05 +0000
commit2060b23e04f5facecbec6822e1f6d806981b74f8 (patch)
tree67e26190fcc8ac42703eee973eb5e312c989272b /src/gui/buysell.cpp
parent479f674875455fbe26e712d22518cc896b020c16 (diff)
downloadmana-client-2060b23e04f5facecbec6822e1f6d806981b74f8.tar.gz
mana-client-2060b23e04f5facecbec6822e1f6d806981b74f8.tar.bz2
mana-client-2060b23e04f5facecbec6822e1f6d806981b74f8.tar.xz
mana-client-2060b23e04f5facecbec6822e1f6d806981b74f8.zip
little tweaks to buy and buy/sell dialogs.
Diffstat (limited to 'src/gui/buysell.cpp')
-rw-r--r--src/gui/buysell.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/buysell.cpp b/src/gui/buysell.cpp
index 394dcd04..e2e0e686 100644
--- a/src/gui/buysell.cpp
+++ b/src/gui/buysell.cpp
@@ -48,6 +48,8 @@ BuySellDialog::BuySellDialog():
setContentSize(x, 2 * y + buyButton->getHeight());
setLocationRelativeTo(getParent());
+
+ requestFocus();
}
void BuySellDialog::action(const std::string& eventId, gcn::Widget* widget)