Clear the list of recently closed tabs together with the history.

Sun, 19 Jul 2015 17:03:41 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 19 Jul 2015 17:03:41 +0200
changeset 4320
ccc70fb94c64
parent 4318
c2f374ca452b
child 4321
28d39909a480

Clear the list of recently closed tabs together with the history.

Helpviewer/HelpWindow.py file | annotate | diff | comparison | revisions
Helpviewer/History/HistoryMenu.py file | annotate | diff | comparison | revisions
--- a/Helpviewer/HelpWindow.py	Sat Jul 18 16:50:24 2015 +0200
+++ b/Helpviewer/HelpWindow.py	Sun Jul 19 17:03:41 2015 +0200
@@ -2987,12 +2987,13 @@
         dlg = HelpClearPrivateDataDialog(self)
         if dlg.exec_() == QDialog.Accepted:
             # browsing history, search history, favicons, disk cache, cookies,
-            # passwords, web databases, downloads
+            # passwords, web databases, downloads, Flash cookies
             (history, searches, favicons, cache, cookies,
              passwords, databases, downloads, flashCookies, historyPeriod) = \
                 dlg.getData()
             if history:
                 self.historyManager().clear(historyPeriod)
+                self.tabWidget.clearClosedTabsList()
             if searches:
                 self.searchEdit.clear()
             if downloads:
--- a/Helpviewer/History/HistoryMenu.py	Sat Jul 18 16:50:24 2015 +0200
+++ b/Helpviewer/History/HistoryMenu.py	Sun Jul 19 17:03:41 2015 +0200
@@ -381,6 +381,7 @@
                 self.tr("Clear History"),
                 self.tr("""Do you want to clear the history?""")):
             self.__historyManager.clear()
+            self.__tabWidget.clearClosedTabsList()
     
     def __aboutToShowClosedTabsMenu(self):
         """

eric ide

mercurial