diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-18 14:20:14 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-18 14:20:14 -0600 |
commit | f64903f3f139ba83e94c6260c39f88b8d31b793b (patch) | |
tree | 39ab7a883bf8e3fb6e920ab47659086c96a6d139 /src/gui/sell.cpp | |
parent | 203e995140e710475e1d8a3b512c8fe16a1acd96 (diff) | |
download | mana-f64903f3f139ba83e94c6260c39f88b8d31b793b.tar.gz mana-f64903f3f139ba83e94c6260c39f88b8d31b793b.tar.bz2 mana-f64903f3f139ba83e94c6260c39f88b8d31b793b.tar.xz mana-f64903f3f139ba83e94c6260c39f88b8d31b793b.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 b53a23c1..4cdabe68 100644 --- a/src/gui/sell.cpp +++ b/src/gui/sell.cpp @@ -273,3 +273,10 @@ void SellDialog::logic() if (!current_npc) setVisible(false); } + +void SellDialog::setVisible(bool visible) +{ + Window::setVisible(visible); + + if (visible) requestFocus(); +} |