Commit 7443b7ca authored by Thomas Hartmann's avatar Thomas Hartmann Committed by Tim Jenssen

QmlDesigner: Fix resource path for item library

Task-number: QTCREATORBUG-15100
Change-Id: Ie145afcfedfee0833fb61443b192fa8fee153ed7
Reviewed-by: default avatarTim Jenssen <tim.jenssen@theqtcompany.com>
parent cb012884
......@@ -157,7 +157,7 @@ void ViewManager::detachViewsExceptRewriterAndComponetView()
void ViewManager::attachItemLibraryView()
{
setItemLibraryViewResourcePath(QFileInfo(currentDesignDocument()->fileName().fileName()).absolutePath());
setItemLibraryViewResourcePath(currentDesignDocument()->fileName().toFileInfo().absolutePath());
currentModel()->attachView(&d->itemLibraryView);
}
......
Markdown is supported
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