Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/views/kgloballedgerview.cpp
Context not available. | |||||
1504 | if (!d->m_currentAccount.id().isEmpty()) | 1504 | if (!d->m_currentAccount.id().isEmpty()) | ||
---|---|---|---|---|---|
1505 | slotLedgerSelected(d->m_currentAccount.id(), lt.id()); | 1505 | slotLedgerSelected(d->m_currentAccount.id(), lt.id()); | ||
1506 | } catch (const MyMoneyException &e) { | 1506 | } catch (const MyMoneyException &e) { | ||
1507 | KMessageBox::detailedSorry(this, i18n("Error"), i18n("Unable to duplicate transaction(s): %1, thrown in %2:%3", e.what(), e.file(), e.line())); | 1507 | KMessageBox::detailedSorry(this, i18n("Unable to duplicate transaction(s)"), e.what()); | ||
1508 | } | 1508 | } | ||
1509 | // switch off the progress bar | 1509 | // switch off the progress bar | ||
1510 | emit selectByVariant(QVariantList {QVariant(-1), QVariant(-1)}, eView::Intent::ReportProgress); | 1510 | emit selectByVariant(QVariantList {QVariant(-1), QVariant(-1)}, eView::Intent::ReportProgress); | ||
Context not available. | |||||
1579 | emit selectByVariant(QVariantList {QVariant(-1), QVariant(-1)}, eView::Intent::ReportProgress); | 1579 | emit selectByVariant(QVariantList {QVariant(-1), QVariant(-1)}, eView::Intent::ReportProgress); | ||
1580 | ft.commit(); | 1580 | ft.commit(); | ||
1581 | } catch (const MyMoneyException &e) { | 1581 | } catch (const MyMoneyException &e) { | ||
1582 | KMessageBox::detailedSorry(this, i18n("Error"), i18n("Unable to accept transaction: %1, thrown in %2:%3", e.what(), e.file(), e.line())); | 1582 | KMessageBox::detailedSorry(this, i18n("Unable to accept transaction"), e.what()); | ||
1583 | } | 1583 | } | ||
1584 | } | 1584 | } | ||
1585 | 1585 | | |||
Context not available. | |||||
1620 | d->m_transactionEditor->enterTransactions(id); | 1620 | d->m_transactionEditor->enterTransactions(id); | ||
1621 | ft.commit(); | 1621 | ft.commit(); | ||
1622 | } catch (const MyMoneyException &e) { | 1622 | } catch (const MyMoneyException &e) { | ||
1623 | KMessageBox::detailedSorry(this, i18n("Error"), i18n("Unable to modify transaction: %1, thrown in %2:%3", e.what(), e.file(), e.line())); | 1623 | KMessageBox::detailedSorry(this, i18n("nable to modify transaction"), e.what()); | ||
1624 | } | 1624 | } | ||
1625 | } | 1625 | } | ||
1626 | } | 1626 | } | ||
Context not available. |