From b7093e8b57d46bfa2743f45a4050908c157ba496 Mon Sep 17 00:00:00 2001 From: Diego Prado Gesto Date: Tue, 30 Jan 2018 11:26:01 +0100 Subject: [PATCH] Make the menu separator only show if there are quality changes profiles --- resources/qml/Menus/ProfileMenu.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/qml/Menus/ProfileMenu.qml b/resources/qml/Menus/ProfileMenu.qml index edce2641af..f543bb36eb 100644 --- a/resources/qml/Menus/ProfileMenu.qml +++ b/resources/qml/Menus/ProfileMenu.qml @@ -29,7 +29,11 @@ Menu onObjectRemoved: menu.removeItem(object); } - MenuSeparator { id: customSeparator } + MenuSeparator + { + id: customSeparator + visible: Cura.UserProfilesModel.rowCount > 0 + } Instantiator {