mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-23 14:43:43 +00:00
[traff_assessment_tool] Clear markers when updating TraFF data
Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
@@ -325,6 +325,11 @@ TrafficModel::TrafficModel(Framework & framework, DataSource const & dataSource,
|
|||||||
|
|
||||||
endResetModel();
|
endResetModel();
|
||||||
|
|
||||||
|
// clear markers
|
||||||
|
auto editSession = m_framework.GetBookmarkManager().GetEditSession();
|
||||||
|
editSession.ClearGroup(UserMark::Type::COLORED);
|
||||||
|
editSession.SetIsVisible(UserMark::Type::COLORED, false);
|
||||||
|
|
||||||
LOG(LINFO, ("Messages:", m_messages.size()));
|
LOG(LINFO, ("Messages:", m_messages.size()));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user