summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-26 21:32:17 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-26 21:32:17 +0300
commitb2736792cec7d15ba4ba80b0eb8da8e8014aa085 (patch)
treee241e1f7f2cb9fdce384d31b653ca7deb333e3ee /src/gui/windows
parent5ffb26486fb0fc00b3615fbfdbca0b05f9216a8c (diff)
downloadmanaverse-b2736792cec7d15ba4ba80b0eb8da8e8014aa085.tar.gz
manaverse-b2736792cec7d15ba4ba80b0eb8da8e8014aa085.tar.bz2
manaverse-b2736792cec7d15ba4ba80b0eb8da8e8014aa085.tar.xz
manaverse-b2736792cec7d15ba4ba80b0eb8da8e8014aa085.zip
Fix sending mail from mail edit window for old mail system.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/maileditwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/maileditwindow.cpp b/src/gui/windows/maileditwindow.cpp
index 64391e8ae..a47b284de 100644
--- a/src/gui/windows/maileditwindow.cpp
+++ b/src/gui/windows/maileditwindow.cpp
@@ -121,7 +121,8 @@ MailEditWindow::MailEditWindow() :
placer(3, 6, mCloseButton);
loadWindowState();
- mSendButton->setEnabled(false);
+ if (mUseMail2)
+ mSendButton->setEnabled(false);
enableVisibleSound(true);
}