- made sure that the GUI element FCInputDialogSpinnerButton has the spinner element auto-selected on launch
This commit is contained in:
@@ -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
|
- 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
|
- 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
|
24.11.2020
|
||||||
|
|
||||||
|
|||||||
@@ -2487,6 +2487,7 @@ class FCInputDialogSpinnerButton(QtWidgets.QDialog):
|
|||||||
|
|
||||||
self.wdg = FCButtonWithDoubleSpinner(min=self.min, max=self.max, step=self.step, decimals=decimals,
|
self.wdg = FCButtonWithDoubleSpinner(min=self.min, max=self.max, step=self.step, decimals=decimals,
|
||||||
button_text=button_text, button_icon=button_icon, callback=callback)
|
button_text=button_text, button_icon=button_icon, callback=callback)
|
||||||
|
self.wdg.spinner.selectAll()
|
||||||
self.wdg.set_value(self.init_value)
|
self.wdg.set_value(self.init_value)
|
||||||
|
|
||||||
QBtn = QtWidgets.QDialogButtonBox.Ok | QtWidgets.QDialogButtonBox.Cancel
|
QBtn = QtWidgets.QDialogButtonBox.Ok | QtWidgets.QDialogButtonBox.Cancel
|
||||||
|
|||||||
Reference in New Issue
Block a user