summaryrefslogtreecommitdiff
path: root/src/gui/windows/setup.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-15 01:30:24 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-15 01:30:24 +0300
commit1c9df7b5139f80a85333f9ab88a9500381be1690 (patch)
tree91254686697a56a76889c672863ebaadecc2605f /src/gui/windows/setup.h
parentc3b87f283a5a99ed8bac513c516bc5a184406391 (diff)
downloadmv-1c9df7b5139f80a85333f9ab88a9500381be1690.tar.gz
mv-1c9df7b5139f80a85333f9ab88a9500381be1690.tar.bz2
mv-1c9df7b5139f80a85333f9ab88a9500381be1690.tar.xz
mv-1c9df7b5139f80a85333f9ab88a9500381be1690.zip
Fix unloading mods setting tab if change character or network error.
Diffstat (limited to 'src/gui/windows/setup.h')
-rw-r--r--src/gui/windows/setup.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/setup.h b/src/gui/windows/setup.h
index 9039f4e87..4c9ab2fb7 100644
--- a/src/gui/windows/setup.h
+++ b/src/gui/windows/setup.h
@@ -73,6 +73,8 @@ class Setup final : public Window, public gcn::ActionListener
void widgetResized(const gcn::Event &event) override final;
private:
+ void unloadModTab();
+
std::list<SetupTab*> mTabs;
SetupTab *mModsTab;
std::list<Window*> mWindowsToReset;