249 |
249 |
250 dlg = EditBreakpointDialog( |
250 dlg = EditBreakpointDialog( |
251 (fnHistory[0], None), |
251 (fnHistory[0], None), |
252 None, |
252 None, |
253 condHistory, |
253 condHistory, |
254 self, |
254 parent=self, |
255 modal=1, |
255 modal=1, |
256 addMode=1, |
256 addMode=1, |
257 filenameHistory=fnHistory, |
257 filenameHistory=fnHistory, |
258 ) |
258 ) |
259 if dlg.exec() == QDialog.DialogCode.Accepted: |
259 if dlg.exec() == QDialog.DialogCode.Accepted: |
315 |
315 |
316 fn, line, cond, temp, enabled, count = bp[:6] |
316 fn, line, cond, temp, enabled, count = bp[:6] |
317 fnHistory, condHistory = self.__loadRecent() |
317 fnHistory, condHistory = self.__loadRecent() |
318 |
318 |
319 dlg = EditBreakpointDialog( |
319 dlg = EditBreakpointDialog( |
320 (fn, line), (cond, temp, enabled, count), condHistory, self, modal=True |
320 (fn, line), |
|
321 (cond, temp, enabled, count), |
|
322 condHistory, |
|
323 parent=self, |
|
324 modal=True, |
321 ) |
325 ) |
322 if dlg.exec() == QDialog.DialogCode.Accepted: |
326 if dlg.exec() == QDialog.DialogCode.Accepted: |
323 cond, temp, enabled, count = dlg.getData() |
327 cond, temp, enabled, count = dlg.getData() |
324 if cond: |
328 if cond: |
325 if cond in condHistory: |
329 if cond in condHistory: |