summaryrefslogtreecommitdiff
path: root/src/gui/sell.cpp
diff options
context:
space:
mode:
authorTametomo <irarice@gmail.com>2009-04-21 15:42:11 -0600
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-29 20:26:12 +0200
commit86ec58bf1456a6349e3ac162387a630a8ffb11d7 (patch)
tree36ad0b7464f61e54daa1be43c5d8f616acbfe524 /src/gui/sell.cpp
parent6df16720da3ae3257636e000c10b62d0b99f752e (diff)
downloadmana-client-86ec58bf1456a6349e3ac162387a630a8ffb11d7.tar.gz
mana-client-86ec58bf1456a6349e3ac162387a630a8ffb11d7.tar.bz2
mana-client-86ec58bf1456a6349e3ac162387a630a8ffb11d7.tar.xz
mana-client-86ec58bf1456a6349e3ac162387a630a8ffb11d7.zip
Set default focuses on the BuySell dialog, the Buy dialog, and the Sell
dialog to reduce the amount of needed tabbing by the user when using the keyboard to use these dialogs. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
Diffstat (limited to 'src/gui/sell.cpp')
-rw-r--r--src/gui/sell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/sell.cpp b/src/gui/sell.cpp
index f940856d..f7762144 100644
--- a/src/gui/sell.cpp
+++ b/src/gui/sell.cpp
@@ -292,7 +292,7 @@ void SellDialog::setVisible(bool visible)
Window::setVisible(visible);
if (visible)
- requestFocus();
+ mShopItemList->requestFocus();
}
void SellDialog::close()