summaryrefslogtreecommitdiff
path: root/src/actions/windows.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-24 14:26:15 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-24 14:28:39 +0300
commit1cd50987bce69ada9ccea8c822ccd0ffb34cedde (patch)
tree58858017e679e053905775ef5cad3a711851edea /src/actions/windows.cpp
parentb7bb27910303ef1538e2cbb4093e452c77567739 (diff)
downloadplus-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.cpp9
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)