Properly handle dynamic initialization of Sidebar header

This commit is contained in:
Arjen Hiemstra 2015-09-12 20:01:31 +02:00
parent 67086b4d9f
commit fa9ab24959
2 changed files with 8 additions and 5 deletions

View file

@ -79,7 +79,7 @@ Rectangle
anchors.left: base.left
anchors.right: base.right
source: modesListModel.get(header.currentModeIndex).file;
source: modesListModel.count > header.currentModeIndex ? modesListModel.get(header.currentModeIndex).file : "";
property Item sidebar: base;