Skip to content

Commit 48d3e8b

Browse files
committed
Add VS UI example
1 parent d30655c commit 48d3e8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Interface/Application/TriggeredEventsWindow.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ namespace
7979
"# scirun_set_module_state(scirun_module_ids()[-1], 'FileTypeName', 'Matlab Matrix (*.mat)') if scirun_module_ids()[-1].startswith('ReadMatrix') else None\n"
8080
"\n"
8181
"# With the \"On network load\" event, this snippet will open the UIs for all the ViewScenes in the network :\n"
82-
"# TODO\n";
82+
"# [scirun_set_module_state(id, '__UI__', True) for id in scirun_module_ids() if id.startswith('ViewScene')]\n";
8383
}
8484

8585
void TriggeredEventsWindow::updateScriptEditor()
@@ -127,4 +127,4 @@ void TriggeredEventsWindow::push()
127127
Core::Preferences::Instance().onNetworkLoadScriptEnabled_temporarySolution.setValue(scriptEnabledFlags_[key]);
128128
}
129129
}
130-
}
130+
}

0 commit comments

Comments
 (0)