Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 4 files). Show all
Unified · Split
| @@ -81,7 +81,7 @@ void WindowScriptingInterface::setFocus() { · 80 unmodified lines | ||
| 81 | 81 | void WindowScriptingInterface::raiseMainWindow() { |
| 82 | 82 | // It's forbidden to call raise() from another thread. |
| 83 | 83 | qApp->postLambdaEvent([] { |
| 84 | − qApp->getWindow()->raise(); | |
| 84 | + qApp->raise(); | |
| 85 | 85 | }); |
| 86 | 86 | } |
| 87 | 87 | |