History

Add Window browseChanged signal as replacement for openFileChanged

David Rowe committed 8 years ago

Commit 85bda1d1 parent 858221d3 files · +18 −7Browse files

Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 3 files). Show all

Unified · Split

interface/src/scripting/WindowScriptingInterface.cpp+2−1
@@ -277,7 +277,8 @@ void WindowScriptingInterface::browseAsync(const QString& title, const QString& · 276 unmodified lines
277277 if (!result.isEmpty()) {
278278 setPreviousBrowseLocation(QFileInfo(result).absolutePath());
279279 }
280− emit openFileChanged(result);
280+ emit browseChanged(result);
281+ emit openFileChanged(result); // Deprecated signal; to be removed in due course.
281282 });
282283 }
283284