Commit 0c48f1f3 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[widgets][assetbrowser] Code simplification

parent d5c57ad5
......@@ -149,6 +149,5 @@ class AssetBrowser(QWidget):
prefix_root_path = context.meta["config"].path
self.filesystem_model.setRootPath(prefix_root_path)
root_index = self.filesystem_model.index(prefix_root_path)
root_index = self.filesystem_model.setRootPath(prefix_root_path)
self.view.setRootIndex(self.proxy_model.mapFromSource(root_index))
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