@@ -379,7 +379,6 @@ void NetworkEditorBuilder::connectAll(NetworkEditor* editor)
379379 QObject::connect (mainWindow_->actionSelectAll_ , SIGNAL (triggered ()), editor, SLOT (selectAll ()));
380380 QObject::connect (mainWindow_->actionDelete_ , SIGNAL (triggered ()), editor, SLOT (del ()));
381381 QObject::connect (mainWindow_->actionCleanUpNetwork_ , SIGNAL (triggered ()), editor, SLOT (cleanUpNetwork ()));
382- QObject::connect (mainWindow_->actionMakeSubnetwork_ , SIGNAL (triggered ()), editor, SLOT (makeSubnetwork ()));
383382 QObject::connect (editor, SIGNAL (zoomLevelChanged (int )), mainWindow_, SLOT (showZoomStatusMessage (int )));
384383 QObject::connect (mainWindow_->actionCut_ , SIGNAL (triggered ()), editor, SLOT (cut ()));
385384 QObject::connect (mainWindow_->actionCopy_ , SIGNAL (triggered ()), editor, SLOT (copy ()));
@@ -393,6 +392,7 @@ void NetworkEditorBuilder::connectAll(NetworkEditor* editor)
393392 QObject::connect (mainWindow_->actionPinAllModuleUIs_ , SIGNAL (triggered ()), editor, SLOT (pinAllModuleUIs ()));
394393 QObject::connect (mainWindow_->actionRestoreAllModuleUIs_ , SIGNAL (triggered ()), editor, SLOT (restoreAllModuleUIs ()));
395394 QObject::connect (mainWindow_->actionHideAllModuleUIs_ , SIGNAL (triggered ()), editor, SLOT (hideAllModuleUIs ()));
395+ QObject::connect (mainWindow_->actionMakeSubnetwork_ , SIGNAL (triggered ()), editor, SLOT (makeSubnetwork ()));
396396 }
397397 // children only
398398 // addDockWidget(Qt::RightDockWidgetArea, subnet);
0 commit comments