Browse Source

Few minor fixes

CURA-10835
saumya.jain 1 year ago
parent
commit
5c2b127345
1 changed files with 2 additions and 2 deletions
  1. 2 2
      resources/qml/Settings/SettingView.qml

+ 2 - 2
resources/qml/Settings/SettingView.qml

@@ -40,7 +40,7 @@ Item
         Cura.TextField
         {
             id: filter
-            height: parent.height
+            implicitHeight: parent.height
             anchors.left: parent.left
             anchors.right: parent.right
             topPadding: height / 4
@@ -337,7 +337,7 @@ Item
                 }
                 function onShowTooltip(text) { base.showTooltip(delegate, Qt.point(-settingsView.x - UM.Theme.getSize("default_margin").width, 0), text) }
                 function onHideTooltip() { base.hideTooltip() }
-                function onShowAllHiddenInheritedSettings()
+                function onShowAllHiddenInheritedSettings(category_id)
                 {
                     var children_with_override = Cura.SettingInheritanceManager.getChildrenKeysWithOverride(category_id)
                     for(var i = 0; i < children_with_override.length; i++)