Skip to content

Commit 6af6e7f

Browse files
authored
Merge pull request #27 from sanak/hotfix/issue26
moved reloadConnections after calling loadSettings (#26)
2 parents ca670a6 + 7f35dec commit 6af6e7f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

pgRoutingLayer.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,7 @@ def initGui(self):
175175
QObject.connect(self.dock.buttonExport, SIGNAL("clicked()"), self.export)
176176
QObject.connect(self.dock.buttonExportMerged, SIGNAL("clicked()"), self.exportMerged)
177177
QObject.connect(self.dock.buttonClear, SIGNAL("clicked()"), self.clear)
178-
179-
#populate the combo with connections
180-
self.reloadMessage = False
181-
self.reloadConnections()
182-
Utils.logMessage("startup version " + str(self.version))
183178

184-
185179
self.prevType = None
186180
self.functions = {}
187181
for funcfname in self.SUPPORTED_FUNCTIONS:
@@ -207,6 +201,11 @@ def initGui(self):
207201
self.dock.lineEditAlpha.setValidator(QDoubleValidator())
208202
self.dock.lineEditPaths.setValidator(QIntValidator())
209203
self.loadSettings()
204+
205+
#populate the combo with connections
206+
self.reloadMessage = False
207+
self.reloadConnections()
208+
Utils.logMessage("startup version " + str(self.version))
210209
self.reloadMessage = True
211210

212211
def show(self):

0 commit comments

Comments
 (0)