Sat, 12 Mar 2016 15:44:24 +0100
Fixed a few issues in the cookies exception dialog.
Helpviewer/CookieJar/CookieExceptionsModel.py | file | annotate | diff | comparison | revisions | |
Helpviewer/CookieJar/CookiesExceptionsDialog.py | file | annotate | diff | comparison | revisions |
--- a/Helpviewer/CookieJar/CookieExceptionsModel.py Sat Mar 12 15:21:19 2016 +0100 +++ b/Helpviewer/CookieJar/CookieExceptionsModel.py Sat Mar 12 15:44:24 2016 +0100 @@ -221,7 +221,7 @@ else: otherRule = '.' + host if otherRule in addList: - addList.removeOne(otherRule) + addList.remove(otherRule) if otherRule in removeList1: removeList1.remove(otherRule) if otherRule in removeList2:
--- a/Helpviewer/CookieJar/CookiesExceptionsDialog.py Sat Mar 12 15:21:19 2016 +0100 +++ b/Helpviewer/CookieJar/CookiesExceptionsDialog.py Sat Mar 12 15:44:24 2016 +0100 @@ -96,6 +96,7 @@ """ from .CookieJar import CookieJar self.__exceptionsModel.addRule(self.domainEdit.text(), CookieJar.Block) + self.domainEdit.clear() @pyqtSlot() def on_allowForSessionButton_clicked(self): @@ -105,6 +106,7 @@ from .CookieJar import CookieJar self.__exceptionsModel.addRule(self.domainEdit.text(), CookieJar.AllowForSession) + self.domainEdit.clear() @pyqtSlot() def on_allowButton_clicked(self): @@ -113,3 +115,4 @@ """ from .CookieJar import CookieJar self.__exceptionsModel.addRule(self.domainEdit.text(), CookieJar.Allow) + self.domainEdit.clear()