Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.editor
Commits
0c48f1f3
Commit
0c48f1f3
authored
May 10, 2019
by
Samuel GAIST
Browse files
[widgets][assetbrowser] Code simplification
parent
d5c57ad5
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/editor/widgets/assetbrowser.py
View file @
0c48f1f3
...
...
@@ -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
))
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment