Skip to content
Permalink
Browse files

fix another signal-slot connection in new console

  • Loading branch information
alexbruy committed Sep 14, 2012
1 parent 2f2fb53 commit 799795a05a4a85edad752627361099d661c247bf
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/console.py
@@ -190,7 +190,7 @@ def __init__(self, parent=None):
self.clearButton.triggered.connect(self.edit.clearConsole)
#self.currentLayerButton.triggered.connect(self.cLayer)
self.loadIfaceButton.triggered.connect(self.iface)
self.loadSextanteButton.activated.connect(self.sextante)
self.loadSextanteButton.triggered.connect(self.sextante)
self.runButton.triggered.connect(self.edit.entered)
self.openFileButton.triggered.connect(self.openScriptFile)
self.saveFileButton.triggered.connect(self.saveScriptFile)
@@ -201,7 +201,7 @@ def __init__(self, parent=None):

def cLayer(self):
self.edit.commandConsole('cLayer')

def sextante(self):
self.edit.commandConsole('sextante')

@@ -220,7 +220,7 @@ def openScriptFile(self):
if line != "\n":
listScriptFile.append(line)
self.edit.insertTextFromFile(listScriptFile)

lastDirPath = QFileInfo(scriptFile).path()
settings.setValue("/pythonConsole/lastDirPath", QVariant(scriptFile))

0 comments on commit 799795a

Please sign in to comment.
You can’t perform that action at this time.