Debugger/StartDialog.py

branch
6_1_x
changeset 4580
f8aa20644a16
parent 4021
195a471c327b
child 4632
ca310db386ed
equal deleted inserted replaced
4571:4745a21ce5ef 4580:f8aa20644a16
125 def on_dirButton_clicked(self): 125 def on_dirButton_clicked(self):
126 """ 126 """
127 Private method used to open a directory selection dialog. 127 Private method used to open a directory selection dialog.
128 """ 128 """
129 cwd = self.ui.workdirCombo.currentText() 129 cwd = self.ui.workdirCombo.currentText()
130 if not cwd:
131 cwd = Preferences.getMultiProject("Workspace")
130 d = E5FileDialog.getExistingDirectory( 132 d = E5FileDialog.getExistingDirectory(
131 self, 133 self,
132 self.tr("Working directory"), 134 self.tr("Working directory"),
133 cwd, 135 cwd,
134 E5FileDialog.Options(E5FileDialog.ShowDirsOnly)) 136 E5FileDialog.Options(E5FileDialog.ShowDirsOnly))

eric ide

mercurial