mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 06:23:59 -06:00
Properly handle dynamic initialization of Sidebar header
This commit is contained in:
parent
67086b4d9f
commit
fa9ab24959
2 changed files with 8 additions and 5 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue