Skip to content

Commit

Permalink
fix: Resolve the issue of entering slide mode after viewing images an…
Browse files Browse the repository at this point in the history
…d exiting without a title bar

  Resolve the issue of entering slide mode after viewing images and exiting without a title bar

Log: Resolve the issue of entering slide mode after viewing images and exiting without a title bar
Bug: https://pms.uniontech.com/bug-view-232641.html
  • Loading branch information
starhcq authored and rb-union committed Dec 6, 2023
1 parent 2e0d238 commit 2ba4c6f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/album/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2375,9 +2375,7 @@ void MainWindow::onAddImageBtnClicked(bool checked)

void MainWindow::onHideFromFullScreen()
{
if (VIEW_IMAGE != m_backIndex_fromFullScreen) {
setTitleBarHideden(false);
}
setTitleBarHideden(false);

m_pCenterWidget->setCurrentIndex(m_backIndex);
}
Expand Down

0 comments on commit 2ba4c6f

Please sign in to comment.