Debugger/EditBreakpointDialog.py

changeset 3190
a9a94491c4fd
parent 3186
a05eff845522
child 3366
6084bb3c3911
equal deleted inserted replaced
3189:9a21c547de5f 3190:a9a94491c4fd
86 self.filenameCombo.setEnabled(False) 86 self.filenameCombo.setEnabled(False)
87 self.fileButton.setEnabled(False) 87 self.fileButton.setEnabled(False)
88 self.linenoSpinBox.setEnabled(False) 88 self.linenoSpinBox.setEnabled(False)
89 self.conditionCombo.setFocus() 89 self.conditionCombo.setFocus()
90 else: 90 else:
91 self.setWindowTitle(self.trUtf8("Add Breakpoint")) 91 self.setWindowTitle(self.tr("Add Breakpoint"))
92 # set the filename 92 # set the filename
93 if fn is None: 93 if fn is None:
94 fn = "" 94 fn = ""
95 try: 95 try:
96 curr = filenameHistory.index(fn) 96 curr = filenameHistory.index(fn)
118 """ 118 """
119 Private slot to select a file via a file selection dialog. 119 Private slot to select a file via a file selection dialog.
120 """ 120 """
121 file = E5FileDialog.getOpenFileName( 121 file = E5FileDialog.getOpenFileName(
122 self, 122 self,
123 self.trUtf8("Select filename of the breakpoint"), 123 self.tr("Select filename of the breakpoint"),
124 self.filenameCombo.currentText(), 124 self.filenameCombo.currentText(),
125 "") 125 "")
126 126
127 if file: 127 if file:
128 self.filenameCombo.setEditText(Utilities.toNativeSeparators(file)) 128 self.filenameCombo.setEditText(Utilities.toNativeSeparators(file))

eric ide

mercurial