Skip to content

Commit

Permalink
prepsetsearch-dnd-qss
Browse files Browse the repository at this point in the history
  • Loading branch information
evelynnev committed Feb 8, 2025
1 parent ac58de3 commit 2aa7bb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/library/trackset/crate/cratefeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ void CrateFeature::activateChild(const QModelIndex& index) {
m_lastRightClickedIndex = QModelIndex();
m_prevSiblingCrate = CrateId();
emit saveModelState();
sendTargetWindow("Library");
emit sendTargetWindow("Library");
m_crateTableModel.selectCrate(crateId, "Library");
emit showTrackModel(&m_crateTableModel);
emit enableCoverArtDisplay(true);
Expand All @@ -355,7 +355,7 @@ bool CrateFeature::activateCrate(CrateId crateId) {
m_lastRightClickedIndex = QModelIndex();
m_prevSiblingCrate = CrateId();
emit saveModelState();
sendTargetWindow("Library");
emit sendTargetWindow("Library");
m_crateTableModel.selectCrate(crateId, "Library");
emit showTrackModel(&m_crateTableModel);
emit enableCoverArtDisplay(true);
Expand Down Expand Up @@ -499,7 +499,7 @@ void CrateFeature::slotShowInPreparationWindow() {
}

// emit saveModelState();
sendTargetWindow("PreparationWindow");
emit sendTargetWindow("PreparationWindow");
m_crateTableModel.selectCrate(crateId, "PreparationWindow");
// emit showTrackModel(&m_crateTableModel);
emit showTrackModelInPreparationWindow(&m_crateTableModel);
Expand Down
1 change: 1 addition & 0 deletions src/widget/wlibrarypreparationwindowtracktableview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ void WLibraryPreparationWindowTrackTableView::loadTrackModelInPreparationWindow(
if (m_targetWindow != "PreparationWindow") {
return;
} else {
m_targetWindow = "";
VERIFY_OR_DEBUG_ASSERT(model) {
return;
}
Expand Down

0 comments on commit 2aa7bb6

Please sign in to comment.