Showing the changes to interface/src/scripting/MenuScriptingInterface.cpp (1 of 7 files). Show all
Unified · Split
| @@ -151,3 +151,10 @@ void MenuScriptingInterface::closeInfoView(const QString& path) { · 150 unmodified lines | |||
| 151 | QMetaObject::invokeMethod(Menu::getInstance(), "closeInfoView", Q_ARG(const QString&, path)); | 151 | QMetaObject::invokeMethod(Menu::getInstance(), "closeInfoView", Q_ARG(const QString&, path)); |
| 152 | } | 152 | } |
| 153 | 153 | ||
| 154 | bool MenuScriptingInterface::isInfoViewVisible(const QString& path) { | ||
| 155 | bool result; | ||
| 156 | QMetaObject::invokeMethod(Menu::getInstance(), "isInfoViewVisible", Qt::BlockingQueuedConnection, | ||
| 157 | Q_RETURN_ARG(bool, result), Q_ARG(const QString&, path)); | ||
| 158 | return result; | ||
| 159 | } | ||
| 160 | |||