Commit 32921529 authored by Mathieu Tillet's avatar Mathieu Tillet
Browse files

Reset color map on mask clear

parent 2b5cb9fb
...@@ -784,6 +784,7 @@ void InstrumentWidgetMaskTab::clearMask() { ...@@ -784,6 +784,7 @@ void InstrumentWidgetMaskTab::clearMask() {
clearShapes(); clearShapes();
m_detectorsToGroup.clear(); m_detectorsToGroup.clear();
m_instrWidget->getInstrumentActor().clearMasks(); m_instrWidget->getInstrumentActor().clearMasks();
m_instrWidget->getInstrumentActor().updateColors();
m_instrWidget->updateInstrumentView(); m_instrWidget->updateInstrumentView();
enableApplyButtons(); enableApplyButtons();
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment