Skip to content

Commit

Permalink
Changing the validator (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneGit authored Jun 11, 2024
1 parent afa19cd commit e24c099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/settings_widget.py
Original file line number Diff line number Diff line change
@@ -1083,7 +1083,7 @@ def on_change():

support_xy_offset_label = QLabel(self.locale.SupportXYOffset)
support_xy_offset_value = LineEdit(str(self.sett().supports.xy_offset))
support_xy_offset_value.setValidator(self.intValidator)
support_xy_offset_value.setValidator(self.doubleValidator)
self.panel.addWidget(support_xy_offset_label, self.next_row, 1)
self.panel.addWidget(
support_xy_offset_value, self.cur_row, 2, 1, self.col2_cells

0 comments on commit e24c099

Please sign in to comment.