Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/Toolbar.qml')
-rw-r--r--resources/qml/Toolbar.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/Toolbar.qml b/resources/qml/Toolbar.qml
index 5fbddea9ac..1e335472d4 100644
--- a/resources/qml/Toolbar.qml
+++ b/resources/qml/Toolbar.qml
@@ -62,7 +62,7 @@ Item
enabled: model.enabled && UM.Selection.hasSelection && UM.Controller.toolsEnabled
isTopElement: toolsModel.getItem(0).id == model.id
- isBottomElement: toolsModel.getItem(toolsModel.rowCount() - 1).id == model.id
+ isBottomElement: toolsModel.getItem(toolsModel.count - 1).id == model.id
toolItem: UM.RecolorImage
{