Skip to content

Commit e152e6b

Browse files
Sigma1912hansu
authored andcommitted
Gmoccapy: Switch integer/float layout of calculator depending on selected column
1 parent 725cfed commit e152e6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/emc/usr_intf/gmoccapy/gmoccapy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1982,7 +1982,7 @@ def on_tool_col_edit_started(self, widget, filtered_path, new_text, col):
19821982
data=model[row][col],
19831983
header=_("Enter value"),
19841984
label=_("Tool %s, %s:" % (model[row][1], captations[col])),
1985-
integer=False)
1985+
integer=col in [1,2,15])
19861986
if value == "ERROR":
19871987
LOG.debug("conversion error")
19881988
self.dialogs.warning_dialog(self, _("Conversion error !"),

0 commit comments

Comments
 (0)