IDE: remove warning if editing location leads to no change
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Sun, 18 Aug 2024 18:23:18 +0200
changeset 3970 d73a477237ef
parent 3969 22870ae8d8e1
child 3971 f1c673cddc1f
IDE: remove warning if editing location leads to no change
controls/LocationCellEditor.py
--- 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