GUI: Show when we cannot send yet/anymore
commit13ffc00d6e8f374711b3376ea9373c8ea6713480
authorJan Kundrát <jkt@kde.org>
Wed, 12 Apr 2017 18:21:20 +0000 (12 20:21 +0200)
committerJan Kundrát <jkt@kde.org>
Wed, 12 Apr 2017 18:44:32 +0000 (12 20:44 +0200)
tree4c0048d9c1b78ae26891ac808c10cf7fc46c1831
parenteedc7fbf8e71e79d4f5fa9845c268377e58dfbe6
GUI: Show when we cannot send yet/anymore

If an attachment was not available (either "yet" due to a slow network,
or "not anymore" due to e.g. a deleted item), the UI would refuse to
prepare for sending, but there was no visible indication about the
culprit to the user.

This change doesn't make it 100% foolproof, but at least it shows that
something was wrong and that the button hit was not ignored.

Change-Id: I67776902dfaf09410fd84e1bb33c46b1174dbdd0
src/Gui/ComposeWidget.cpp