Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 9 files). Show all
Unified · Split
| @@ -59,7 +59,7 @@ WindowScriptingInterface::WindowScriptingInterface() { · 58 unmodified lines | ||
| 59 | 59 | QUrl url(urlString); |
| 60 | 60 | emit svoImportRequested(url.url()); |
| 61 | 61 | } else { |
| 62 | − OffscreenUi::warning("Import SVO Error", "You need to be running edit.js to import entities."); | |
| 62 | + OffscreenUi::asyncWarning("Import SVO Error", "You need to be running edit.js to import entities."); | |
| 63 | 63 | } |
| 64 | 64 | }); |
| 65 | 65 | |
| @@ -103,7 +103,7 @@ void WindowScriptingInterface::raiseMainWindow() { · 37 unmodified lines | ||
| 103 | 103 | /// \param const QString& message message to display |
| 104 | 104 | /// \return QScriptValue::UndefinedValue |
| 105 | 105 | void WindowScriptingInterface::alert(const QString& message) { |
| 106 | − OffscreenUi::warning("", message); | |
| 106 | + OffscreenUi::asyncWarning("", message); | |
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | /// Display a confirmation box with the options 'Yes' and 'No' |