diff -r f25fc1364c88 -r 96232974dcdb Debugger/DebugUI.py --- a/Debugger/DebugUI.py Sun Jan 05 23:22:17 2014 +0100 +++ b/Debugger/DebugUI.py Sun Mar 30 22:00:14 2014 +0200 @@ -871,7 +871,7 @@ if editor is None: return - if editor.isPy3File() or editor.isPy2File() or editor.isRubyFile(): + if editor.getPyVersion() or editor.isRubyFile(): if editor.curLineHasBreakpoint(): self.dbgEditBpAct.setEnabled(True) else: