mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 23:24:01 +02:00
Fixed stuck of forward bar when using -sendpath argument.
Regression was introduced in b3d1602354
.
This commit is contained in:
parent
63febef3ed
commit
f98e8f3e04
2 changed files with 4 additions and 1 deletions
|
@ -85,6 +85,8 @@ public:
|
||||||
void searchMessages(const QString &query, Key inChat = {});
|
void searchMessages(const QString &query, Key inChat = {});
|
||||||
void onSearchMore();
|
void onSearchMore();
|
||||||
|
|
||||||
|
void updateForwardBar();
|
||||||
|
|
||||||
// Float player interface.
|
// Float player interface.
|
||||||
bool floatPlayerHandleWheelEvent(QEvent *e) override;
|
bool floatPlayerHandleWheelEvent(QEvent *e) override;
|
||||||
QRect floatPlayerAvailableRect() override;
|
QRect floatPlayerAvailableRect() override;
|
||||||
|
@ -155,7 +157,6 @@ private:
|
||||||
void updateSearchFromVisibility(bool fast = false);
|
void updateSearchFromVisibility(bool fast = false);
|
||||||
void updateControlsGeometry();
|
void updateControlsGeometry();
|
||||||
void refreshFolderTopBar();
|
void refreshFolderTopBar();
|
||||||
void updateForwardBar();
|
|
||||||
void checkUpdateStatus();
|
void checkUpdateStatus();
|
||||||
void changeOpenedFolder(Data::Folder *folder, anim::type animated);
|
void changeOpenedFolder(Data::Folder *folder, anim::type animated);
|
||||||
QPixmap grabForFolderSlideAnimation();
|
QPixmap grabForFolderSlideAnimation();
|
||||||
|
|
|
@ -660,6 +660,8 @@ void MainWidget::clearHider(not_null<Window::HistoryHider*> instance) {
|
||||||
_history->showAnimated(Window::SlideDirection::FromRight, animationParams);
|
_history->showAnimated(Window::SlideDirection::FromRight, animationParams);
|
||||||
}
|
}
|
||||||
floatPlayerCheckVisibility();
|
floatPlayerCheckVisibility();
|
||||||
|
} else {
|
||||||
|
_dialogs->updateForwardBar();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue