Helpviewer/HelpIndexWidget.py

changeset 3035
36e9f388958b
parent 3034
7ce719013078
child 3060
5883ce99ee12
child 3160
209a07d7e401
diff -r 7ce719013078 -r 36e9f388958b Helpviewer/HelpIndexWidget.py
--- a/Helpviewer/HelpIndexWidget.py	Sat Oct 19 13:03:39 2013 +0200
+++ b/Helpviewer/HelpIndexWidget.py	Sat Oct 19 14:05:26 2013 +0200
@@ -136,7 +136,7 @@
             elif event.key() == Qt.Key_Escape:
                 self.escapePressed.emit()
         elif self.__index and watched == self.__index and \
-             event.type() == QEvent.ContextMenu:
+                event.type() == QEvent.ContextMenu:
             idx = self.__index.indexAt(event.pos())
             if idx.isValid():
                 menu = QMenu()
@@ -160,7 +160,7 @@
                             if dlg.exec_() == QDialog.Accepted:
                                 self.__mw.newTab(dlg.link())
         elif self.__index and watched == self.__index.viewport() and \
-             event.type() == QEvent.MouseButtonRelease:
+                event.type() == QEvent.MouseButtonRelease:
             idx = self.__index.indexAt(event.pos())
             if idx.isValid() and event.button() == Qt.MidButton:
                 model = self.__index.model()

eric ide

mercurial