2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Added button to add new files in SendFilesBox to album only.

This commit is contained in:
23rd
2020-01-06 00:04:47 +03:00
committed by John Preston
parent abc7b8364c
commit 5f8c2f90ff
5 changed files with 100 additions and 44 deletions

View File

@@ -126,6 +126,10 @@ private:
bool addFiles(not_null<const QMimeData*> data);
bool addFiles(Storage::PreparedList list);
void openDialogToAddFileToAlbum();
void updateLeftButtonVisibility();
void refreshAllAfterAlbumChanges();
const not_null<Window::SessionController*> _controller;
const Api::SendType _sendType = Api::SendType();
@@ -166,5 +170,6 @@ private:
int _albumPhotosCount = 0;
QPointer<Ui::RoundButton> _send;
QPointer<Ui::RoundButton> _addFileToAlbum;
};