--- a/Debugger/DebugUI.py Sat Mar 22 18:51:14 2014 +0100 +++ b/Debugger/DebugUI.py Thu Mar 27 21:27:08 2014 +0100 @@ -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: