fixed photosendbox doc and contact display

This commit is contained in:
John Preston 2015-08-02 11:07:26 +03:00
parent 14ae657073
commit a9a4623c63

View File

@ -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) {