beremiz

d73a477237ef
Parents 22870ae8d8e1
Children f1c673cddc1f
IDE: remove warning if editing location leads to no change
--- a/controls/LocationCellEditor.py Tue Aug 20 00:23:45 2024 +0200
+++ b/controls/LocationCellEditor.py Sun Aug 18 18:23:18 2024 +0200
@@ -188,9 +188,7 @@
var_type = self.CellControl.GetVarType()
if var_type is not None:
self.Table.SetValueByName(row, 'Type', var_type)
- else:
- wx.CallAfter(self.Table.Parent.ShowErrorMessage,
- _("Selected location is identical to previous one"))
+
self.CellControl.Disable()
return changed