From koffice Mon Jul 17 08:47:26 2006 From: Thomas Zander Date: Mon, 17 Jul 2006 08:47:26 +0000 To: koffice Subject: [Bug 130775] Window title not updated with new file name after "Save Message-Id: <20060717084726.19156.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=koffice&m=115312605630481 ------- 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=130775 zander kde org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From zander kde org 2006-07-17 10:47 ------- SVN commit 563304 by zander: BUG: 130775 Fix the window title to be updated properly. Especially funny is addition of a 'not' in the if(silent) ;) M +4 -2 KoMainWindow.cpp --- branches/koffice/1.6/koffice/lib/kofficecore/KoMainWindow.cpp #563303:563304 @ -921,10 +921,10 @ if (silent) // don't let the document change the window caption pDoc->setTitleModified(); - } // if (wantToSave) { + } // if (wantToSave) else ret = false; - } // if (bOk) { + } // if (bOk) else ret = false; } @ -968,6 +968,8 @ if (!ret && reset_url) pDoc->resetURL(); //clean the suggested filename as the save dialog was rejected + else if (! silent) // don't let the document change the window caption + pDoc->setTitleModified(); return ret; } ____________________________________ koffice mailing list koffice@kde.org To unsubscribe please visit: https://mail.kde.org/mailman/listinfo/koffice