From 51bfc410d47b1eace596767cc114cb82720f22bd Mon Sep 17 00:00:00 2001 From: Tomas Zigo Date: Mon, 11 Sep 2023 06:26:06 +0200 Subject: [PATCH] wxGUI/dbmgr: do not modify layer settings if settings have not changed --- gui/wxpython/dbmgr/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/wxpython/dbmgr/base.py b/gui/wxpython/dbmgr/base.py index 0016d5f4cb1..baaefba71aa 100644 --- a/gui/wxpython/dbmgr/base.py +++ b/gui/wxpython/dbmgr/base.py @@ -3860,7 +3860,7 @@ def OnModifyLayer(self, event): if ( self.modifyLayerWidgets["driver"][1].GetStringSelection() != self.mapDBInfo.layers[layer]["driver"] - or self.modifyLayerWidgets["database"][1].GetStringSelection() + or self.modifyLayerWidgets["database"][1].GetValue() != self.mapDBInfo.layers[layer]["database"] or self.modifyLayerWidgets["table"][1].GetStringSelection() != self.mapDBInfo.layers[layer]["table"]