Implemented View feature to center view on a source. Using it when

inserting new source in MixingView.
This commit is contained in:
brunoherbelin
2020-06-07 16:37:42 +02:00
parent d0c31f0331
commit 32ba013bb1
6 changed files with 68 additions and 36 deletions

View File

@@ -298,7 +298,8 @@ void Mixer::insertSource(Source *s, bool makecurrent)
// switch to Mixing view to show source created
setCurrentView(View::MIXING);
current_view_->update(0);
current_view_->restoreSettings();
// current_view_->restoreSettings();
current_view_->centerSource(s);
}
}