--- a/Helpviewer/CookieJar/CookiesExceptionsDialog.py Sun Feb 10 15:26:21 2013 +0100 +++ b/Helpviewer/CookieJar/CookiesExceptionsDialog.py Sun Feb 10 18:31:31 2013 +0100 @@ -10,7 +10,6 @@ from PyQt4.QtCore import pyqtSlot from PyQt4.QtGui import QDialog, QSortFilterProxyModel, QCompleter, QFont, QFontMetrics -from .CookieJar import CookieJar from .CookieExceptionsModel import CookieExceptionsModel from .CookieModel import CookieModel @@ -87,6 +86,7 @@ """ Private slot to block cookies of a domain. """ + from .CookieJar import CookieJar self.__exceptionsModel.addRule(self.domainEdit.text(), CookieJar.Block) @pyqtSlot() @@ -94,6 +94,7 @@ """ Private slot to allow cookies of a domain for the current session only. """ + from .CookieJar import CookieJar self.__exceptionsModel.addRule(self.domainEdit.text(), CookieJar.AllowForSession) @pyqtSlot() @@ -101,4 +102,5 @@ """ Private slot to allow cookies of a domain. """ + from .CookieJar import CookieJar self.__exceptionsModel.addRule(self.domainEdit.text(), CookieJar.Allow)