--- a/Tasks/TaskViewer.py Tue Aug 31 13:39:24 2010 +0200 +++ b/Tasks/TaskViewer.py Tue Aug 31 16:38:06 2010 +0200 @@ -712,15 +712,12 @@ @param on flag indicating the filter state (boolean) """ if on and not self.taskFilter.hasActiveFilter(): - res = E5MessageBox.question(self, + res = E5MessageBox.yesNo(self, self.trUtf8("Activate task filter"), self.trUtf8("""The task filter doesn't have any active filters.""" """ Do you want to configure the filter settings?"""), - QMessageBox.StandardButtons(\ - QMessageBox.No | \ - QMessageBox.Yes), - QMessageBox.Yes) - if res != QMessageBox.Yes: + yesDefault = True) + if not res: on = False else: self.__configureFilter() @@ -808,4 +805,4 @@ """ Private method to open the configuration dialog. """ - e5App().getObject("UserInterface").showPreferences("tasksPage") \ No newline at end of file + e5App().getObject("UserInterface").showPreferences("tasksPage")