void Main::systemOutputClicked( const QString & path ) { MarSystem *system = systemForPath(path); if (!system) { qWarning() << "Main: System not found for path:" << path; return; } m_controls_widget->setSystem(system); m_realvec_widget->displayPort (QString::fromStdString(system->getAbsPath()), Output); }