Skip to content

Commit

Permalink
wxGUI/dbmgr: do not modify layer settings if settings have not changed (
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi committed Sep 26, 2023
1 parent 5b494c4 commit b2ddf57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/wxpython/dbmgr/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3865,7 +3865,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"]
Expand Down

0 comments on commit b2ddf57

Please sign in to comment.