diff -r dd54d33d21d2 -r 51aa6c6b66f7 eric6/Tasks/TaskViewer.py --- a/eric6/Tasks/TaskViewer.py Mon Oct 05 19:51:55 2020 +0200 +++ b/eric6/Tasks/TaskViewer.py Tue Oct 06 17:52:44 2020 +0200 @@ -472,7 +472,7 @@ ro = task.getFilename() != "" if ro: dlg.setReadOnly() - if dlg.exec_() == QDialog.Accepted and not ro: + if dlg.exec() == QDialog.Accepted and not ro: summary, priority, completed, isProjectTask, description = ( dlg.getData() ) @@ -489,7 +489,7 @@ """ from .TaskPropertiesDialog import TaskPropertiesDialog dlg = TaskPropertiesDialog(None, self, self.projectOpen) - if dlg.exec_() == QDialog.Accepted: + if dlg.exec() == QDialog.Accepted: summary, priority, completed, isProjectTask, description = ( dlg.getData() ) @@ -506,7 +506,7 @@ from .TaskPropertiesDialog import TaskPropertiesDialog dlg = TaskPropertiesDialog(None, self, self.projectOpen) dlg.setSubTaskMode(projectTask) - if dlg.exec_() == QDialog.Accepted: + if dlg.exec() == QDialog.Accepted: summary, priority, completed, isProjectTask, description = ( dlg.getData() ) @@ -668,7 +668,7 @@ """ from .TaskFilterConfigDialog import TaskFilterConfigDialog dlg = TaskFilterConfigDialog(self.taskFilter) - if dlg.exec_() == QDialog.Accepted: + if dlg.exec() == QDialog.Accepted: dlg.configureTaskFilter(self.taskFilter) self.__refreshDisplay()