Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 3c99a280 authored by Albert Astals Cid's avatar Albert Astals Cid Committed by Albert Astals Cid

Add the file url to the save text

Makes more clear we're going to be saving over it
parent 433d1eac
......@@ -1700,14 +1700,14 @@ bool Part::queryClose()
return true;
const int res = KMessageBox::warningYesNoCancel( widget(),
i18n( "Do you want to save your changes or discard them?" ),
i18n( "Do you want to save your changes to \"%1\" or discard them?", url().toDisplayString() ),
i18n( "Close Document" ),
KStandardGuiItem::save(),
KStandardGuiItem::discard() );
switch ( res )
{
case KMessageBox::Yes: // Save as
case KMessageBox::Yes: // Save
saveFile();
return !isModified(); // Only allow closing if file was really saved
case KMessageBox::No: // Discard
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment