Commits

Aleš Erjavec  committed bf168e7

Removed the special value for the "Maximal rule length".

  • Participants
  • Parent commits 1546cd0

Comments (0)

Files changed (1)

File Orange/OrangeWidgets/Classify/OWCN2.py

             max_rule_box, self, "useMaxRuleLength", "Maximal rule length")
 
         max_rule_spin = OWGUI.spin(
-            self.ruleValidationGroup, self, "MaxRuleLength", 0, 100,
-            tooltip="Maximal number of conditions in the left\n" +
-                    "part of the rule (use 0 for don't care)")
-        max_rule_spin.setSpecialValueText("Unlimited")
+            self.ruleValidationGroup, self, "MaxRuleLength", 1, 100,
+            tooltip="Maximal number of conditions in the left " +
+                    "part of the rule")
         max_rule_cb.disables += [max_rule_spin]
         max_rule_cb.makeConsistent()