diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-11-12 09:19:56 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-11-12 09:19:56 +0000 |
commit | 0cd36436725f308f58048f9d6ae02d94cfbfad8c (patch) | |
tree | f09d9ddc2787d4ae6ed38266c0a44d4c83ac23a9 | |
parent | b8a22a2e8b94f83627ecda6370b53b404a3b0817 (diff) |
rmdPrefsWidget.py: fixed jack ports re-insertion bug.
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@428 f606c939-3180-4ac9-a4b8-4b8779d57d0a
-rw-r--r-- | qt-recordmydesktop/src/rmdPrefsWidget.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/qt-recordmydesktop/src/rmdPrefsWidget.py b/qt-recordmydesktop/src/rmdPrefsWidget.py index 3fb4ac8..4251209 100644 --- a/qt-recordmydesktop/src/rmdPrefsWidget.py +++ b/qt-recordmydesktop/src/rmdPrefsWidget.py @@ -80,6 +80,7 @@ class prefsWidget(object): self.values[26]=str(self.extraOptsEntry.text().trimmed()) self.optionsOpen[0]=0 + def __getSelectedPorts__(self): iters_t=[] self.values[23]=[] @@ -292,6 +293,7 @@ class prefsWidget(object): stdout.close() stderr.close() self.jack_lsp_liststore.clear() + if ports!=[]: for i in ports: self.ports.append(i.replace('\n',"")) @@ -303,8 +305,6 @@ class prefsWidget(object): self.jack_lsp_liststore.setEnabled(False) self.jack_lsp_listSave.setEnabled(False) self.values[23]=[] - for i in self.values[23]: - self.jack_lsp_listSave.insertItem(-1,QtGui.QListWidgetItem(i)) for i in self.ports: self.jack_lsp_liststore.insertItem(-1,QtGui.QListWidgetItem(i)) @@ -342,6 +342,10 @@ class prefsWidget(object): self.__makeCons__() self.__runJackLSP__() self.__jack_enabled_check__() + for i in self.values[23]: + self.jack_lsp_listSave.insertItem(-1,QtGui.QListWidgetItem(i)) + + if self.values[24]==0: self.__tooltips__() self.window.show() |