Navigation Menu

Skip to content

Commit

Permalink
[nemo-qml-plugin-calendar] Correction update list of actual calendars…
Browse files Browse the repository at this point in the history
… in Calendar application. Contributes to JB#42634
  • Loading branch information
ruinsemi committed Aug 9, 2018
1 parent 9933ea8 commit c773d39
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/calendarworker.cpp
Expand Up @@ -679,7 +679,9 @@ void NemoCalendarWorker::loadNotebooks()
if (mNotebooks.contains(notebook.uid) && mNotebooks.value(notebook.uid) != notebook)
changed = true;

newNotebooks.insert(notebook.uid, notebook);
if (notebooks.at(ii)->isVisible()) {
newNotebooks.insert(notebook.uid, notebook);
}
}

if (changed || mNotebooks.count() != newNotebooks.count()) {
Expand Down

0 comments on commit c773d39

Please sign in to comment.