[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/office/kmymoney/kmymoney2
From: Alvaro Soliverez <asoliverez () gmail ! com>
Date: 2009-10-01 0:57:26
Message-ID: 1254358646.863677.24977.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1029902 by asoliverez:
Fixed cancel button on cancel transaction edit dialog
M +1 -1 kmymoney2.cpp
--- trunk/playground/office/kmymoney/kmymoney2/kmymoney2.cpp #1029901:1029902
@@ -5008,7 +5008,7 @@
// okToSelect is preset to true if a cancel of the dialog is useful and \
false if it is not int rc;
if(okToSelect == true) {
- rc = KMessageBox::warningYesNoCancel(0, QString("<p>")+i18n("Do you really \
want to cancel editing this transaction without saving it?</p>- <b>Yes</b> cancels \
editing the transaction<br/>- <b>No</b> saves the transaction prior to cancelling \
and<br/>- <b>Cancel</b> returns to the transaction editor.<p>You can also select an \
option to save the transaction automatically when e.g. selecting another \
transaction.</p>"), i18n("Cancel transaction edit"), KStandardGuiItem::yes(), \
KStandardGuiItem::no(), KGuiItem(dontShowAgain)); + rc = \
KMessageBox::warningYesNoCancel(0, QString("<p>")+i18n("Do you really want to cancel \
editing this transaction without saving it?</p>- <b>Yes</b> cancels editing the \
transaction<br/>- <b>No</b> saves the transaction prior to cancelling and<br/>- \
<b>Cancel</b> returns to the transaction editor.<p>You can also select an option to \
save the transaction automatically when e.g. selecting another transaction.</p>"), \
i18n("Cancel transaction edit"), KStandardGuiItem::yes(), KStandardGuiItem::no(), \
KStandardGuiItem::cancel(), dontShowAgain);
} else {
rc = KMessageBox::warningYesNo(0, QString("<p>")+i18n("Do you really want \
to cancel editing this transaction without saving it?</p>- <b>Yes</b> cancels editing \
the transaction<br/>- <b>No</b> saves the transaction prior to cancelling.<p>You can \
also select an option to save the transaction automatically when e.g. selecting \
another transaction.</p>"), i18n("Cancel transaction edit"), KStandardGuiItem::yes(), \
KStandardGuiItem::no(), dontShowAgain);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic