mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-14 11:49:59 +01:00
Bugfix show editor of clone source
This commit is contained in:
@@ -1125,16 +1125,15 @@ void UserInterface::showSourceEditor(Source *s)
|
||||
|
||||
if (s) {
|
||||
Mixer::manager().setCurrentSource( s );
|
||||
CloneSource *cs = dynamic_cast<CloneSource *>(s);
|
||||
if (cs != nullptr) {
|
||||
shadercontrol.refresh( cs );
|
||||
return;
|
||||
}
|
||||
RenderSource *rs = dynamic_cast<RenderSource *>(s);
|
||||
if (rs != nullptr) {
|
||||
outputcontrol.setVisible(true);
|
||||
return;
|
||||
}
|
||||
CloneSource *cs = dynamic_cast<CloneSource *>(s);
|
||||
if (cs != nullptr) {
|
||||
shadercontrol.refresh( cs );
|
||||
}
|
||||
if (s->playable()) {
|
||||
sourcecontrol.setVisible(true);
|
||||
sourcecontrol.resetActiveSelection();
|
||||
|
||||
Reference in New Issue
Block a user