We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af2e8af commit c2b96ecCopy full SHA for c2b96ec
src/Interface/Application/NetworkEditor.cc
@@ -1282,11 +1282,20 @@ void NetworkEditor::disableViewScenes()
1282
c->setDisabled(true);
1283
}
1284
1285
+ //TODO: doesn't work yet.
1286
+ //Application::Instance().controller()->connectNetworkExecutionFinished([this](int code){ enableViewScenes(); });
1287
1288
1289
void NetworkEditor::enableViewScenes()
1290
{
-
1291
+ Q_FOREACH(QGraphicsItem* item, scene_->items())
1292
+ {
1293
+ if (auto c = dynamic_cast<ConnectionLine*>(item))
1294
1295
+ if (c->id().id_.find("ViewScene") != std::string::npos)
1296
+ c->setDisabled(false);
1297
+ }
1298
1299
1300
1301
size_t NetworkEditor::numModules() const
0 commit comments