eric6/Debugger/EditBreakpointDialog.py

changeset 8230
8b5c6896655b
parent 8218
7c09585bd960
equal deleted inserted replaced
8229:6fa22aa4fc4a 8230:8b5c6896655b
141 @return a tuple containing the new breakpoints properties 141 @return a tuple containing the new breakpoints properties
142 (filename, lineno, condition, temporary flag, enabled flag, 142 (filename, lineno, condition, temporary flag, enabled flag,
143 ignore count) 143 ignore count)
144 """ 144 """
145 fn = self.filenamePicker.currentText() 145 fn = self.filenamePicker.currentText()
146 if not fn: 146 fn = os.path.expanduser(os.path.expandvars(fn)) if fn else None
147 fn = None
148 else:
149 fn = os.path.expanduser(os.path.expandvars(fn))
150 147
151 return (fn, self.linenoSpinBox.value(), 148 return (fn, self.linenoSpinBox.value(),
152 self.conditionCombo.currentText(), 149 self.conditionCombo.currentText(),
153 self.temporaryCheckBox.isChecked(), 150 self.temporaryCheckBox.isChecked(),
154 self.enabledCheckBox.isChecked(), 151 self.enabledCheckBox.isChecked(),

eric ide

mercurial