Improve performance of advanced sidebar

Prevent a delegate being loaded when the item is "filtered out" by the model.
CURA-1278
This commit is contained in:
fieldOfView 2016-06-02 00:01:08 +02:00
parent 7d65475bf9
commit 907de8b586

View File

@ -50,6 +50,7 @@ ScrollView
//In addition, while it works for 5.5 and higher, the ordering of the actual combo box drop down changes, //In addition, while it works for 5.5 and higher, the ordering of the actual combo box drop down changes,
//causing nasty issues when selecting differnt options. So disable asynchronous loading of enum type completely. //causing nasty issues when selecting differnt options. So disable asynchronous loading of enum type completely.
asynchronous: model.type != "enum" asynchronous: model.type != "enum"
active: model.type != undefined
source: source:
{ {