diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-06 14:32:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-06 14:32:35 +0300 |
commit | ce14a018a6f66aa1309ebe71a8217082d83cd0da (patch) | |
tree | 05d4268533abc06f7f7d4459a82d69dcea8ae2f7 /src/gui/windows/cutinwindow.cpp | |
parent | f90aae8a2b49b87bd6bf66055a404914df3a0d05 (diff) | |
download | manaplus-ce14a018a6f66aa1309ebe71a8217082d83cd0da.tar.gz manaplus-ce14a018a6f66aa1309ebe71a8217082d83cd0da.tar.bz2 manaplus-ce14a018a6f66aa1309ebe71a8217082d83cd0da.tar.xz manaplus-ce14a018a6f66aa1309ebe71a8217082d83cd0da.zip |
Hide cutin if npc window closed.
Diffstat (limited to 'src/gui/windows/cutinwindow.cpp')
-rw-r--r-- | src/gui/windows/cutinwindow.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/windows/cutinwindow.cpp b/src/gui/windows/cutinwindow.cpp index f8d21a37c..1a38661b8 100644 --- a/src/gui/windows/cutinwindow.cpp +++ b/src/gui/windows/cutinwindow.cpp @@ -139,6 +139,12 @@ void CutInWindow::show(const std::string &name, } } +void CutInWindow::hide() +{ + delete2(mImage); + setVisible(Visible_false); +} + void CutInWindow::logic() { if (mImage) |