Skip to content

Commit

Permalink
fix: Hide search box on photo classification cover page
Browse files Browse the repository at this point in the history
   Hide search box on photo classification cover page

Log: Hide search box on photo classification cover page
Bug: https://pms.uniontech.com/bug-view-232787.html
  • Loading branch information
starhcq committed Dec 7, 2023
1 parent 3d0c099 commit 70ff03d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/album/albumview/albumview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,6 @@ void AlbumView::updateRightView()
} else if (COMMON_STR_CLASS == m_currentType) {
m_bHasClassified = false;
updateRightClassView();
emit sigSearchEditIsDisplay(false);
} else if (COMMON_STR_CLASSDETAIL == m_currentType) {
if (!m_currentClassName.isEmpty())
updateRightClassViewDetail(m_currentClassName);
Expand Down Expand Up @@ -1188,7 +1187,7 @@ void AlbumView::updateRightClassView()
m_pRightStackWidget->setCurrentIndex(RIGHT_VIEW_CLASS_LIST);
m_ClassTitleWidget->setVisible(infos.size() > 0);

emit sigSearchEditIsDisplay(true);
emit sigSearchEditIsDisplay(false);
setAcceptDrops(false);
}

Expand Down

0 comments on commit 70ff03d

Please sign in to comment.