summaryrefslogtreecommitdiff
path: root/src/gui/windows/mailviewwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-26 17:42:49 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-26 17:42:49 +0300
commit19c49d794657f87cf07790b3fad6dae09f8005df (patch)
tree69c211cd5e88e7c42211ee232a42b6fe104c8425 /src/gui/windows/mailviewwindow.h
parente72b6ef50fbfe22d3c856e06db00d55643a4c148 (diff)
downloadmanaplus-19c49d794657f87cf07790b3fad6dae09f8005df.tar.gz
manaplus-19c49d794657f87cf07790b3fad6dae09f8005df.tar.bz2
manaplus-19c49d794657f87cf07790b3fad6dae09f8005df.tar.xz
manaplus-19c49d794657f87cf07790b3fad6dae09f8005df.zip
Show/hide get attach button in mail view window based on attached items and money.
Diffstat (limited to 'src/gui/windows/mailviewwindow.h')
-rw-r--r--src/gui/windows/mailviewwindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/mailviewwindow.h b/src/gui/windows/mailviewwindow.h
index a9d19e57e..9f09bb9a7 100644
--- a/src/gui/windows/mailviewwindow.h
+++ b/src/gui/windows/mailviewwindow.h
@@ -52,6 +52,8 @@ class MailViewWindow final : public Window,
void updateItems();
private:
+ void updateAttachButton();
+
const MailMessage *mMessage;
Button *mGetAttachButton;
Button *mCloseButton;