mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Added restoring of scroll position after edit items in SendFilesBox.
This commit is contained in:
@@ -120,7 +120,7 @@ private:
|
||||
void updateControlsGeometry();
|
||||
void updateCaptionPlaceholder();
|
||||
|
||||
void addThumbButtonHandlers();
|
||||
void addThumbButtonHandlers(not_null<Ui::ScrollArea*> wrap);
|
||||
|
||||
bool canAddFiles(not_null<const QMimeData*> data) const;
|
||||
bool addFiles(not_null<const QMimeData*> data);
|
||||
@@ -169,6 +169,8 @@ private:
|
||||
int _albumVideosCount = 0;
|
||||
int _albumPhotosCount = 0;
|
||||
|
||||
int _lastScrollTop = 0;
|
||||
|
||||
QPointer<Ui::RoundButton> _send;
|
||||
QPointer<Ui::RoundButton> _addFileToAlbum;
|
||||
|
||||
|
Reference in New Issue
Block a user