[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 105879] closing with embedded doc asks save/discard twice
From:       David Faure <faure () kde ! org>
Date:       2005-05-19 17:07:42
Message-ID: 20050519170742.31364.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=105879         




------- Additional Comments From faure kde org  2005-05-19 19:07 -------
Thanks for having looked into it.
Can you tell me which part of the logic broke?
queryClose, called by slotFileQuit, was supposed to either
 - save (-> setModified(false) implicitely)
 - not save (-> setModified(false) explicitely)
 - cancel (->queryClose returns false, so close() isn't called by slotFileQuit)

That's all in KoMainWindow, so why does the embedded document affect it?
I'm obviously missing something.

Is this not related to KoDocument::queryCloseDia / \
KoDocument::queryCloseExternalChildren, which is only supposed to be called for \
"external" children (which embedded docs are not, by default)... ?


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic