[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice
Subject: [Bug 105879] closing with embedded doc asks save/discard twice
From: Fredrik Edemar <f_edemar () linux ! se>
Date: 2005-05-20 23:22:02
Message-ID: 20050520232202.3864.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=105879
f_edemar linux se changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From f_edemar linux se 2005-05-21 01:22 -------
SVN commit 416268 by fedemar:
Simplify the closing: just call close() :) This avoids queryClose() to be called \
twice which causes problems with KoDocument::isModified() together with embedded \
parts.
BUG: 105879 (closing with embedded doc asks save/discard twice)
M +1 -3 trunk/koffice/lib/kofficecore/koMainWindow.cc
--- trunk/koffice/lib/kofficecore/koMainWindow.cc #416267:416268
@ -1135,9 +1135,7 @
void KoMainWindow::slotFileQuit()
{
- if (queryClose()) {
- close(); // queryClose will also be called in this method but won't do \
anything because isModified==false.
- }
+ close();
}
void KoMainWindow::print(bool quick) {
____________________________________
koffice mailing list
koffice@kde.org
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic