From a9a4623c63ac7069f13b74e07333c32fbd8158b9 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 2 Aug 2015 11:07:26 +0300 Subject: [PATCH] fixed photosendbox doc and contact display --- Telegram/SourceFiles/boxes/photosendbox.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/boxes/photosendbox.cpp b/Telegram/SourceFiles/boxes/photosendbox.cpp index 73c4bbba5..6cff7cff7 100644 --- a/Telegram/SourceFiles/boxes/photosendbox.cpp +++ b/Telegram/SourceFiles/boxes/photosendbox.cpp @@ -190,7 +190,11 @@ void PhotoSendBox::hideAll() { void PhotoSendBox::showAll() { _sendButton.show(); _cancelButton.show(); - _compressed.show(); + if (_img && _img->type == ToPreparePhoto) { + _compressed.show(); + } else { + _compressed.hide(); + } } void PhotoSendBox::onSend(bool ctrlShiftEnter) {