Fixed issues in the new web browser.

Sun, 10 Jul 2016 12:48:44 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 10 Jul 2016 12:48:44 +0200
changeset 5025
2060a0f66c51
parent 5024
dc6bb54dfd91
child 5027
fe7ecf4517e0

Fixed issues in the new web browser.

WebBrowser/CookieJar/CookieExceptionsModel.py file | annotate | diff | comparison | revisions
WebBrowser/CookieJar/CookieJar.py file | annotate | diff | comparison | revisions
--- a/WebBrowser/CookieJar/CookieExceptionsModel.py	Sun Jul 10 12:48:18 2016 +0200
+++ b/WebBrowser/CookieJar/CookieExceptionsModel.py	Sun Jul 10 12:48:44 2016 +0200
@@ -227,5 +227,9 @@
         if otherRule in removeList2:
             removeList2.remove(otherRule)
         
+        self.__cookieJar.setAllowedCookies(self.__allowedCookies)
+        self.__cookieJar.setBlockedCookies(self.__blockedCookies)
+        self.__cookieJar.setAllowForSessionCookies(self.__sessionCookies)
+        
         self.beginResetModel()
         self.endResetModel()
--- a/WebBrowser/CookieJar/CookieJar.py	Sun Jul 10 12:48:18 2016 +0200
+++ b/WebBrowser/CookieJar/CookieJar.py	Sun Jul 10 12:48:44 2016 +0200
@@ -364,7 +364,11 @@
         
         @param filterTrackingCookies filter tracking cookies flag (boolean)
         """
+        if filterTrackingCookies == self.__filterTrackingCookies:
+            return
+        
         self.__filterTrackingCookies = filterTrackingCookies
+        self.__saveTimer.changeOccurred()
     
     def __isOnDomainList(self, rules, domain):
         """

eric ide

mercurial