- made sure that the GUI element FCInputDialogSpinnerButton has the spinner element auto-selected on launch

This commit is contained in:
Marius Stanciu
2020-11-25 13:04:12 +02:00
committed by Marius
parent ca77b8869c
commit 88509cd9a7
2 changed files with 2 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ CHANGELOG for FlatCAM beta
- had a first shot in creating a way to show the log messages in the Tcl Shell if a setting in Preferences is set
- fixed Isolation Tool tool table context menu pointing at the same method for the menu entries: Add Tool and Pick from DB
- made sure that the GUI element FCInputDialogSpinnerButton has the spinner element auto-selected on launch
24.11.2020

View File

@@ -2487,6 +2487,7 @@ class FCInputDialogSpinnerButton(QtWidgets.QDialog):
self.wdg = FCButtonWithDoubleSpinner(min=self.min, max=self.max, step=self.step, decimals=decimals,
button_text=button_text, button_icon=button_icon, callback=callback)
self.wdg.spinner.selectAll()
self.wdg.set_value(self.init_value)
QBtn = QtWidgets.QDialogButtonBox.Ok | QtWidgets.QDialogButtonBox.Cancel