Fixed an issue in the Open Pages widget. eric7

Sat, 16 Oct 2021 20:36:57 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 16 Oct 2021 20:36:57 +0200
branch
eric7
changeset 8691
5dfa59f73de3
parent 8690
25f68ec4181a
child 8692
9c72f9bc9d72

Fixed an issue in the Open Pages widget.

eric7/HelpViewer/OpenPagesWidget.py file | annotate | diff | comparison | revisions
--- a/eric7/HelpViewer/OpenPagesWidget.py	Sat Oct 16 20:36:12 2021 +0200
+++ b/eric7/HelpViewer/OpenPagesWidget.py	Sat Oct 16 20:36:57 2021 +0200
@@ -96,6 +96,7 @@
         """
         itm = self.__openPagesList.itemAt(point)
         self.__copyUrlAct.setEnabled(bool(itm) and itm.text() != "about:blank")
+        self.closeOthersMenuAct.setEnabled(self.__openPagesList.count() > 1)
         self.__menu.popup(self.__openPagesList.mapToGlobal(point))
     
     @pyqtSlot(int)

eric ide

mercurial