Commit 83a83c86 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Specify calendar when we open editor

CCBUG: 429546
parent ef8daebe
Pipeline #41854 failed with stage
in 5 minutes and 51 seconds
......@@ -303,6 +303,7 @@ void TodoEdit::slotOpenEditor()
item.setMimeType(KCalendarCore::Todo::todoMimeType());
IncidenceEditorNG::IncidenceDialog *dlg = IncidenceEditorNG::IncidenceDialogFactory::create(true, KCalendarCore::IncidenceBase::TypeTodo, nullptr, this);
dlg->selectCollection(mCollectionCombobox->currentCollection());
connect(dlg, &IncidenceEditorNG::IncidenceDialog::finished, this, &TodoEdit::slotCloseWidget);
dlg->load(item);
dlg->open();
......
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