diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-26 17:42:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-26 17:42:49 +0300 |
commit | 19c49d794657f87cf07790b3fad6dae09f8005df (patch) | |
tree | 69c211cd5e88e7c42211ee232a42b6fe104c8425 /src/gui/windows/mailviewwindow.h | |
parent | e72b6ef50fbfe22d3c856e06db00d55643a4c148 (diff) | |
download | plus-19c49d794657f87cf07790b3fad6dae09f8005df.tar.gz plus-19c49d794657f87cf07790b3fad6dae09f8005df.tar.bz2 plus-19c49d794657f87cf07790b3fad6dae09f8005df.tar.xz plus-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.h | 2 |
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; |