mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fixed stuck of forward bar when using -sendpath argument.
Regression was introduced in b3d1602354.
This commit is contained in:
@@ -85,6 +85,8 @@ public:
|
||||
void searchMessages(const QString &query, Key inChat = {});
|
||||
void onSearchMore();
|
||||
|
||||
void updateForwardBar();
|
||||
|
||||
// Float player interface.
|
||||
bool floatPlayerHandleWheelEvent(QEvent *e) override;
|
||||
QRect floatPlayerAvailableRect() override;
|
||||
@@ -155,7 +157,6 @@ private:
|
||||
void updateSearchFromVisibility(bool fast = false);
|
||||
void updateControlsGeometry();
|
||||
void refreshFolderTopBar();
|
||||
void updateForwardBar();
|
||||
void checkUpdateStatus();
|
||||
void changeOpenedFolder(Data::Folder *folder, anim::type animated);
|
||||
QPixmap grabForFolderSlideAnimation();
|
||||
|
||||
@@ -660,6 +660,8 @@ void MainWidget::clearHider(not_null<Window::HistoryHider*> instance) {
|
||||
_history->showAnimated(Window::SlideDirection::FromRight, animationParams);
|
||||
}
|
||||
floatPlayerCheckVisibility();
|
||||
} else {
|
||||
_dialogs->updateForwardBar();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user