Add Window browseChanged signal as replacement for openFileChanged
Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 3 files). Show all
Unified · Split
| @@ -277,7 +277,8 @@ void WindowScriptingInterface::browseAsync(const QString& title, const QString& · 276 unmodified lines | |||
| 277 | if (!result.isEmpty()) { | 277 | if (!result.isEmpty()) { |
| 278 | setPreviousBrowseLocation(QFileInfo(result).absolutePath()); | 278 | setPreviousBrowseLocation(QFileInfo(result).absolutePath()); |
| 279 | } | 279 | } |
| 280 | emit openFileChanged(result); | 280 | emit browseChanged(result); |
| 281 | emit openFileChanged(result); // Deprecated signal; to be removed in due course. | ||
| 281 | }); | 282 | }); |
| 282 | } | 283 | } |
| 283 | 284 | ||