mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:09:02 +08:00
Prevent the Networked printer scrollview from slowing shit down when it's not even visible
This commit is contained in:
parent
1b1c7b78aa
commit
6a5fbba519
@ -66,7 +66,7 @@ Item
|
|||||||
{
|
{
|
||||||
id: networkPrinterListView
|
id: networkPrinterListView
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
model: CuraApplication.getDiscoveredPrintersModel().discoveredPrinters
|
model: contentLoader.enabled ? CuraApplication.getDiscoveredPrintersModel().discoveredPrinters: undefined
|
||||||
|
|
||||||
section.property: "modelData.sectionName"
|
section.property: "modelData.sectionName"
|
||||||
section.criteria: ViewSection.FullString
|
section.criteria: ViewSection.FullString
|
||||||
|
@ -71,6 +71,7 @@ Item
|
|||||||
right: parent.right
|
right: parent.right
|
||||||
}
|
}
|
||||||
source: base.pageUrl
|
source: base.pageUrl
|
||||||
|
enabled: base.visible
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user