diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-18 14:20:14 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-18 19:55:11 -0600 |
commit | 6f0d88e781c8b1a75858c769b3641aa8cd477314 (patch) | |
tree | 98891d219272074e437cd58087a7aaafc463c40a /src/gui/sell.cpp | |
parent | 74fa304602e0e7ad845e606db8868b32f1d10864 (diff) | |
download | mana-6f0d88e781c8b1a75858c769b3641aa8cd477314.tar.gz mana-6f0d88e781c8b1a75858c769b3641aa8cd477314.tar.bz2 mana-6f0d88e781c8b1a75858c769b3641aa8cd477314.tar.xz mana-6f0d88e781c8b1a75858c769b3641aa8cd477314.zip |
Fix up the NPC interraction widnows a bit
Diffstat (limited to 'src/gui/sell.cpp')
-rw-r--r-- | src/gui/sell.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/sell.cpp b/src/gui/sell.cpp index b780b02b..ed023227 100644 --- a/src/gui/sell.cpp +++ b/src/gui/sell.cpp @@ -265,3 +265,10 @@ void SellDialog::updateButtonsAndLabels() (strprintf(_("Price: %d GP / Total: %d GP"), income, mPlayerMoney + income)); } + +void SellDialog::setVisible(bool visible) +{ + Window::setVisible(visible); + + if (visible) requestFocus(); +} |