Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'omp-updating-actual-calendars' into 'master'
[nemo-qml-plugin-calendar] Correction update list of actual calendars in Calendar application. Contributes to JB#42634

See merge request mer-core/nemo-qml-plugin-calendar!26
  • Loading branch information
pvuorela committed Aug 24, 2018
2 parents f67d819 + c773d39 commit 1ac9cf0
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 1ac9cf0

Please sign in to comment.