21 Jun 10:12
Little bug, I think
From: Jerome Laheurte <fraca7@...>
Subject: Little bug, I think
Newsgroups: gmane.comp.sysutils.pim.taskcoach.devel
Date: 2008-06-21 08:13:22 GMT
Subject: Little bug, I think
Newsgroups: gmane.comp.sysutils.pim.taskcoach.devel
Date: 2008-06-21 08:13:22 GMT
Hi, Franck. What is the motivation of the "elif not
self.__taskFile.isEmpty()" in IOController.save() ?
def save(self, *args):
if self.__taskFile.filename():
self.__taskFile.save()
self.__showSaveMessage(self.__taskFile)
return True
elif not self.__taskFile.isEmpty():
return self.saveas()
else:
return False
The problem is the following: starting with an empty file, if I create
a task, undo the create, and try to save, the taskfile is still marked
dirty, the save button is still enabled and I get the confirmation
dialog when quitting, which I suppose is not the intended behaviour :)
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/taskcoach-dev/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
(Continue reading)
RSS Feed