mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-19 04:52:12 +01:00
LP-493 uavobjectbrowser: properly restore highlight color and other attributes when changing view options
This commit is contained in:
parent
556c2e9e99
commit
d47956c7e6
@ -271,9 +271,11 @@ void UAVObjectBrowserWidget::updateViewOptions()
|
||||
m_viewoptions->cbMetaData->isChecked(),
|
||||
m_viewoptions->cbScientific->isChecked());
|
||||
|
||||
model->setUnknowObjectColor(m_unknownObjectColor);
|
||||
model->setRecentlyUpdatedColor(m_recentlyUpdatedColor);
|
||||
model->setManuallyChangedColor(m_manuallyChangedColor);
|
||||
model->setRecentlyUpdatedTimeout(m_recentlyUpdatedTimeout);
|
||||
model->setUnknowObjectColor(m_unknownObjectColor);
|
||||
model->setOnlyHilightChangedValues(m_onlyHilightChangedValues);
|
||||
|
||||
UAVObjectTreeModel *tmpModel = m_model;
|
||||
m_model = model;
|
||||
|
Loading…
x
Reference in New Issue
Block a user