--- a/Helpviewer/HelpBrowserWV.py Tue Aug 31 13:39:24 2010 +0200 +++ b/Helpviewer/HelpBrowserWV.py Tue Aug 31 16:38:06 2010 +0200 @@ -1192,17 +1192,14 @@ # accessed for the first time return - res = E5MessageBox.question(self, + res = E5MessageBox.yesNo(self, self.trUtf8("Web Database Quota"), self.trUtf8("""<p>The database quota of <strong>{0}</strong> has""" """ been exceeded while accessing database <strong>{1}""" """</strong>.</p><p>Shall it be changed?</p>""")\ .format(self.__dataString(securityOrigin.databaseQuota()), databaseName), - QMessageBox.StandardButtons(\ - QMessageBox.No | \ - QMessageBox.Yes), - QMessageBox.Yes) - if res == QMessageBox.Yes: + yesDefault = True) + if res: newQuota, ok = QInputDialog.getInteger(\ self, self.trUtf8("New Web Database Quota"), @@ -1249,4 +1246,4 @@ """ Public method to indicate a change of the settings. """ - self.reload() \ No newline at end of file + self.reload()