Bugfix: Edit button was not switched off when opening a new image

Reported in issue #2239 :
https://github.com/Beep6581/RawTherapee/issues/2239#issuecomment-521955110
This commit is contained in:
Hombre
2019-08-18 00:26:15 +02:00
parent f7ec852e05
commit e2bfbbf9b1

View File

@@ -1090,8 +1090,8 @@ void EditorPanel::close ()
if (iareapanel) {
iareapanel->imageArea->setPreviewHandler (nullptr);
iareapanel->imageArea->setImProcCoordinator (nullptr);
iareapanel->imageArea->unsubscribe();
}
tpc->editModeSwitchedOff();
rtengine::StagedImageProcessor::destroy (ipc);
ipc = nullptr;