Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KDE PIM Add-ons
Commits
83a83c86
Commit
83a83c86
authored
Nov 23, 2020
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
plugins/messageviewerplugins/createtodoplugin/todoedit.cpp
View file @
83a83c86
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment