Skip to content

Commit 733754b

Browse files
Sigma1912hansu
andauthored
Update src/emc/usr_intf/gmoccapy/gmoccapy.py
Co-authored-by: Hans Unzner <hansunzner@gmail.com>
1 parent bb1801a commit 733754b

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
@@ -2120,7 +2120,7 @@ def on_tool_col_edit_started(self, widget, filtered_path, new_text, col):
21202120
# To use the return value of the calculator, it must be pretended that there is no editable (=no edit mode).
21212121
self.widgets.tooledit1.editable = None
21222122
if col in integer_cols:
2123-
self.widgets.tooledit1.validate_input(row, f"{value:11.0f}", col)
2123+
self.widgets.tooledit1.validate_input(row, f"{value:11d}", col)
21242124
else:
21252125
self.widgets.tooledit1.validate_input(row, f"{value:11.4f}", col)
21262126
self.widgets.tooledit1.edited = True

0 commit comments

Comments
 (0)