--- a/Debugger/DebugUI.py Fri Apr 06 12:36:09 2012 +0200 +++ b/Debugger/DebugUI.py Fri Apr 06 13:59:54 2012 +0200 @@ -811,7 +811,7 @@ if editor is None: return - if editor.isPy2File() or editor.isPy3File() or editor.isRubyFile(): + if editor.isPy3File() or editor.isPy2File() or editor.isRubyFile(): if editor.curLineHasBreakpoint(): self.dbgEditBpAct.setEnabled(True) else: