Просмотр исходного кода

- reverted change in tool dia being able to take only positive values in Gerber Object UI

Marius Stanciu 6 лет назад
Родитель
Сommit
8797793472
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      README.md
  2. 1 1
      flatcamGUI/ObjectUI.py

+ 1 - 0
README.md

@@ -13,6 +13,7 @@ CAD program, and create G-Code for Isolation routing.
 
 
 - fixed a small bug in BETA status change
 - fixed a small bug in BETA status change
 - updated the About FlatCAM window
 - updated the About FlatCAM window
+- reverted change in tool dia being able to take only positive values in Gerber Object UI
 
 
 18.10.2019
 18.10.2019
 
 

+ 1 - 1
flatcamGUI/ObjectUI.py

@@ -342,7 +342,7 @@ class GerberObjectUI(ObjectUI):
         )
         )
         tdlabel.setMinimumWidth(90)
         tdlabel.setMinimumWidth(90)
         self.iso_tool_dia_entry = FCDoubleSpinner()
         self.iso_tool_dia_entry = FCDoubleSpinner()
-        self.iso_tool_dia_entry.set_range(0, 9999.9999)
+        self.iso_tool_dia_entry.set_range(-9999.9999, 9999.9999)
         self.iso_tool_dia_entry.set_precision(self.decimals)
         self.iso_tool_dia_entry.set_precision(self.decimals)
         self.iso_tool_dia_entry.setSingleStep(0.1)
         self.iso_tool_dia_entry.setSingleStep(0.1)