From a75376e43ad87cdb2d3a108c69a31a54f6db6eee Mon Sep 17 00:00:00 2001 From: Till Adam Date: Mon, 20 Aug 2007 13:26:23 +0000 Subject: [PATCH] Make it possible to cancel the paste. svn path=/trunk/KDE/kdepim/; revision=702359 --- kmcomposewin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmcomposewin.cpp b/kmcomposewin.cpp index ec322af24..4ccc0f29d 100644 --- a/kmcomposewin.cpp +++ b/kmcomposewin.cpp @@ -3622,7 +3622,7 @@ void KMComposeWin::slotPaste() const QString text = i18n("Please select whether you want to insert the content as text into the editor, " "or append the referenced file as an attachment."); const QString caption = i18n("Paste as text or attachment?"); - int id = KMessageBox::questionYesNo( this, text, caption, + int id = KMessageBox::questionYesNoCancel( this, text, caption, KGuiItem( asText ), KGuiItem( asAttachment) ); switch ( id) {