Skip to content

Commit

Permalink
Pref Controller: fix creating new mapping with 'No Mapping'
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed Aug 25, 2022
1 parent 12f6338 commit 3c1f16e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/controllers/dlgprefcontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ void DlgPrefController::showLearningWizard() {
if (!m_pMapping) {
m_pMapping = std::shared_ptr<LegacyControllerMapping>(new LegacyMidiControllerMapping());
emit applyMapping(m_pController, m_pMapping, true);
// shortcut for creating and assigning required I/O table models
slotShowMapping(m_pMapping);
}

// Note that DlgControllerLearning is set to delete itself on close using
Expand Down

0 comments on commit 3c1f16e

Please sign in to comment.