- updated all FlatCAM tools to use the new confirmation message for QSpinBoxes, too

This commit is contained in:
Marius Stanciu
2020-02-17 04:56:57 +02:00
committed by Marius
parent 1e9232aeaa
commit ea1b99242c
13 changed files with 22 additions and 21 deletions

View File

@@ -298,7 +298,7 @@ class ToolPunchGerber(FlatCAMTool):
grid0.addWidget(self.prop_label, 12, 0, 1, 2)
# Diameter value
self.factor_entry = FCDoubleSpinner(suffix='%')
self.factor_entry = FCDoubleSpinner(callback=self.confirmation_message, suffix='%')
self.factor_entry.set_precision(self.decimals)
self.factor_entry.set_range(0.0000, 100.0000)
self.factor_entry.setSingleStep(0.1)