From: pavelpa Date: Mon, 25 Jan 2010 11:32:13 +0000 (+0000) Subject: updated also groupings item (event parent item) if the X-Git-Tag: 0.5.0~205 X-Git-Url: https://git.toastfreeware.priv.at/toast/confclerk.git/commitdiff_plain/7b705076a39208ab529895996fdbf63a9686f9da updated also groupings item (event parent item) if the user clicks eg. favourite/alarm icon (changes event data) --- diff --git a/src/mvc/eventmodel.cpp b/src/mvc/eventmodel.cpp index cdcacac..4fb24b7 100644 --- a/src/mvc/eventmodel.cpp +++ b/src/mvc/eventmodel.cpp @@ -271,6 +271,7 @@ void EventModel::updateModel(int aEventId) QModelIndex eventIndex = index(j,0,groupIndex); if(static_cast(eventIndex.internalPointer())->id() == aEventId) { + emit(dataChanged(groupIndex,groupIndex)); emit(dataChanged(eventIndex,eventIndex)); } }