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

Sun, 19 Jul 2015 17:02:09 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 19 Jul 2015 17:02:09 +0200
branch
6_0_x
changeset 4319
4b8309feef42
parent 4315
2ebb98e99054
child 4323
572ac5a5cbc4

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	Fri Jul 17 18:09:04 2015 +0200
+++ b/Helpviewer/HelpWindow.py	Sun Jul 19 17:02:09 2015 +0200
@@ -2983,12 +2983,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	Fri Jul 17 18:09:04 2015 +0200
+++ b/Helpviewer/History/HistoryMenu.py	Sun Jul 19 17:02:09 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