Commit bfb06707 authored by Fabian-Andree Heidemann's avatar Fabian-Andree Heidemann
Browse files

[fileselector] set OpenPath to current path, when file is selected. This...

[fileselector] set OpenPath to current path, when file is selected. This preference has to move to workspace dependend preferences when available
parent 1901fd17
......@@ -34,6 +34,7 @@ define(["jquery", "../base/actions"], function($, FileBaseActions) {
} else {
self.FileBase.instance.callback(paths[0], self.FileBase.instance.cb_args);
}
self.FileBase.instance.setPreference("OpenPath", self.FileBase.instance.getState("path"));
self.FileBase.workflow.callbackFired = true;
self.FileBase.instance.close();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment