Commit 744fc7c6 authored by Thomas Baumgart's avatar Thomas Baumgart
Browse files

Allow schedules with amount being zero

BUG: 389286
parent 207a463a
......@@ -84,7 +84,7 @@ public:
{
delete ui;
}
void init()
{
Q_Q(KEditScheduleDlg);
......@@ -209,7 +209,7 @@ public:
t.setEntryDate(QDate());
return t;
}
KEditScheduleDlg *q_ptr;
Ui::KEditScheduleDlg *ui;
MyMoneySchedule m_schedule;
......@@ -371,7 +371,6 @@ TransactionEditor* KEditScheduleDlg::startEdit()
d->m_requiredFields->add(d->ui->m_nameEdit);
d->m_requiredFields->add(editor->haveWidget("account"));
d->m_requiredFields->add(editor->haveWidget("category"));
d->m_requiredFields->add(editor->haveWidget("amount"));
// fix labels
QLabel* label = dynamic_cast<QLabel*>(editor->haveWidget("date-label"));
......
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