Skip to content

Commit

Permalink
Merge pull request #1343 from peuter/manager-fix-preview
Browse files Browse the repository at this point in the history
use root here, because it always exists
  • Loading branch information
ChristianMayer committed Apr 7, 2023
2 parents 0f4df52 + 559786d commit 72ac5da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/class/cv/ui/manager/editor/Tree.js
Expand Up @@ -2170,7 +2170,7 @@ qx.Class.define('cv.ui.manager.editor.Tree', {
return false;
});
if (!file) {
file = new cv.ui.manager.model.FileItem('visu_config_previewtemp.xml', '/', this.getFile().getParent());
file = new cv.ui.manager.model.FileItem('visu_config_previewtemp.xml', '/', cv.ui.manager.model.FileItem.ROOT);

file.setTemporary(true);
}
Expand Down

0 comments on commit 72ac5da

Please sign in to comment.