From bef3666a8830501df5c43f6fbd9e25a832381854 Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Tue, 25 Oct 2016 11:38:22 +0200 Subject: [PATCH] Still show the inherit button even when the revert is visible It was not a bug like I assumed Contributes to CURA-2752 --- resources/qml/Settings/SettingItem.qml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/resources/qml/Settings/SettingItem.qml b/resources/qml/Settings/SettingItem.qml index f7040976d5..f093150597 100644 --- a/resources/qml/Settings/SettingItem.qml +++ b/resources/qml/Settings/SettingItem.qml @@ -194,7 +194,6 @@ Item { // Inherit button needs to be visible if; // - User made changes that override any loaded settings // - This setting item uses inherit button at all - // - The revert button is not visible. // - The type of the value of any deeper container is an "object" (eg; is a function) visible: { @@ -203,12 +202,6 @@ Item { return false; } - if(revertButton.visible) - { - // The revert button already indicates there is a custom value for this setting, making this button superfluous. - return false; - } - if(globalPropertyProvider.properties.limit_to_extruder == null || globalPropertyProvider.properties.limit_to_extruder == -1) { return Cura.SettingInheritanceManager.settingsWithInheritanceWarning.indexOf(definition.key) >= 0;