Fixes issue when deleting locallab tool with mask preview active

This commit is contained in:
Pandagrapher
2020-05-12 14:46:08 +02:00
parent 325c3858fe
commit 9204fc365d
4 changed files with 74 additions and 4 deletions

View File

@@ -530,7 +530,7 @@ void ToolPanelCoordinator::panelChanged(const rtengine::ProcEvent& event, const
maskStruc.lcMask, maskStruc.cbMask);
} else if (event == rtengine::EvLocallabSpotCreated || event == rtengine::EvLocallabSpotSelectedWithMask ||
event == rtengine::EvLocallabSpotDeleted || event == rtengine::Evlocallabshowreset ||
event == rtengine::EvlocallabToolRemovedWithRefresh || event == rtengine::EvlocallabToolRemovedWithoutRefresh) {
event == rtengine::EvlocallabToolRemovedWithRefresh) {
locallab->resetMaskVisibility();
ipc->setLocallabMaskVisibility(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}