Commit ef8daebe authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix select correct calendar when we open editor

CCBUG: 429546
parent 9b56bbd9
Pipeline #41840 failed with stage
in 5 minutes and 43 seconds
......@@ -356,6 +356,7 @@ void EventEdit::slotOpenEditor()
item.setMimeType(KCalendarCore::Event::eventMimeType());
IncidenceEditorNG::IncidenceDialog *dlg = IncidenceEditorNG::IncidenceDialogFactory::create(true, KCalendarCore::IncidenceBase::TypeEvent, nullptr, this);
dlg->selectCollection(mCollectionCombobox->currentCollection());
connect(dlg, &IncidenceEditorNG::IncidenceDialog::finished, this, &EventEdit::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