Commit 3b208ad9 authored by Thomas Baumgart's avatar Thomas Baumgart
Browse files

Disable date edit widget for schedules if last day of month is checked

CCBUG: 444262
parent e1627ca2
Pipeline #90755 passed with stage
in 18 minutes and 9 seconds
......@@ -318,6 +318,12 @@ KEditScheduleDlg::KEditScheduleDlg(const MyMoneySchedule& schedule, QWidget* par
connect(d->ui->buttonBox, &QDialogButtonBox::helpRequested, this, [&]() {
const auto dateEdit = d->m_editor->findChild<QWidget*>("dateEdit");
if (dateEdit) {
connect(d->ui->m_lastDayInMonthEdit, &QCheckBox::stateChanged, dateEdit, &QWidget::setDisabled);
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