# HG changeset patch # User Edouard Tisserant # Date 1723998198 -7200 # Node ID d73a477237efd1b6dd598d6a30c24b66bf91ac45 # Parent 22870ae8d8e1ff4513be2479c82896ab9c3663b7 IDE: remove warning if editing location leads to no change diff -r 22870ae8d8e1 -r d73a477237ef 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