diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-24 14:26:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-24 14:28:39 +0300 |
commit | 1cd50987bce69ada9ccea8c822ccd0ffb34cedde (patch) | |
tree | 58858017e679e053905775ef5cad3a711851edea /src/actions/windows.cpp | |
parent | b7bb27910303ef1538e2cbb4093e452c77567739 (diff) | |
download | plus-1cd50987bce69ada9ccea8c822ccd0ffb34cedde.tar.gz plus-1cd50987bce69ada9ccea8c822ccd0ffb34cedde.tar.bz2 plus-1cd50987bce69ada9ccea8c822ccd0ffb34cedde.tar.xz plus-1cd50987bce69ada9ccea8c822ccd0ffb34cedde.zip |
Add partial support for cart window.
Diffstat (limited to 'src/actions/windows.cpp')
-rw-r--r-- | src/actions/windows.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/actions/windows.cpp b/src/actions/windows.cpp index 1fe359402..9a7743590 100644 --- a/src/actions/windows.cpp +++ b/src/actions/windows.cpp @@ -275,6 +275,15 @@ impHandler0(bankWindowShow) return true; } +impHandler0(cartWindowShow) +{ + if (!serverFeatures->haveCart()) + return false; + + showHideWindow(cartWindow); + return true; +} + impHandler0(updaterWindowShow) { if (updaterWindow) |