mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-06 07:50:00 +01:00
BugFix Show Player
This commit is contained in:
@@ -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() );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user