diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-01 22:06:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-01 22:06:18 +0300 |
commit | 58b20fa29b8f61c333a90fe38ece7a058b910ea6 (patch) | |
tree | 1bf3a73c30f2b91f9b994da2d628b46066bf7987 /src/gui/tradewindow.cpp | |
parent | a1d592f55539ad5031d92feb4da049825e986783 (diff) | |
download | manaverse-58b20fa29b8f61c333a90fe38ece7a058b910ea6.tar.gz manaverse-58b20fa29b8f61c333a90fe38ece7a058b910ea6.tar.bz2 manaverse-58b20fa29b8f61c333a90fe38ece7a058b910ea6.tar.xz manaverse-58b20fa29b8f61c333a90fe38ece7a058b910ea6.zip |
Fix shortcuts handling in trade window.
Diffstat (limited to 'src/gui/tradewindow.cpp')
-rw-r--r-- | src/gui/tradewindow.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/tradewindow.cpp b/src/gui/tradewindow.cpp index 8f85f677f..1d3d7ef39 100644 --- a/src/gui/tradewindow.cpp +++ b/src/gui/tradewindow.cpp @@ -459,3 +459,8 @@ bool TradeWindow::checkItem(Item *item) } return true; } + +bool TradeWindow::isInpupFocused() +{ + return (mMoneyField && mMoneyField->isFocused()); +} |