From 19c49d794657f87cf07790b3fad6dae09f8005df Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 26 Aug 2017 17:42:49 +0300 Subject: Show/hide get attach button in mail view window based on attached items and money. --- src/gui/windows/mailviewwindow.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/windows/mailviewwindow.h') 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; -- cgit v1.2.3-70-g09d2