Skip to content

Commit

Permalink
Merge pull request #27 from sanak/hotfix/issue26
Browse files Browse the repository at this point in the history
moved reloadConnections after calling loadSettings (#26)
  • Loading branch information
sanak authored Jul 8, 2016
2 parents ca670a6 + 7f35dec commit 6af6e7f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions pgRoutingLayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,7 @@ def initGui(self):
QObject.connect(self.dock.buttonExport, SIGNAL("clicked()"), self.export)
QObject.connect(self.dock.buttonExportMerged, SIGNAL("clicked()"), self.exportMerged)
QObject.connect(self.dock.buttonClear, SIGNAL("clicked()"), self.clear)

#populate the combo with connections
self.reloadMessage = False
self.reloadConnections()
Utils.logMessage("startup version " + str(self.version))


self.prevType = None
self.functions = {}
for funcfname in self.SUPPORTED_FUNCTIONS:
Expand All @@ -207,6 +201,11 @@ def initGui(self):
self.dock.lineEditAlpha.setValidator(QDoubleValidator())
self.dock.lineEditPaths.setValidator(QIntValidator())
self.loadSettings()

#populate the combo with connections
self.reloadMessage = False
self.reloadConnections()
Utils.logMessage("startup version " + str(self.version))
self.reloadMessage = True

def show(self):
Expand Down

0 comments on commit 6af6e7f

Please sign in to comment.