BugFix Show Player

This commit is contained in:
Bruno Herbelin
2022-05-07 23:30:52 +02:00
parent 6b9795fe96
commit c3e618de36

View File

@@ -1119,10 +1119,6 @@ void UserInterface::showSourceEditor(Source *s)
if (s) {
Mixer::manager().setCurrentSource( s );
if (s->playable()) {
sourcecontrol.setVisible(true);
sourcecontrol.resetActiveSelection();
}
CloneSource *cs = dynamic_cast<CloneSource *>(s);
if (cs != nullptr) {
shadercontrol.refresh( cs );
@@ -1133,6 +1129,11 @@ void UserInterface::showSourceEditor(Source *s)
outputcontrol.setVisible(true);
return;
}
if (s->playable()) {
sourcecontrol.setVisible(true);
sourcecontrol.resetActiveSelection();
return;
}
navigator.showPannelSource( Mixer::manager().indexCurrentSource() );
}
}