Buffer underrun in RGB denoise, Issue 2337. Could also fix 'Crash when creating detail window, Issue 2324' (Thanks to Hombre)

This commit is contained in:
Ingo
2014-04-09 23:59:26 +02:00
parent 51e80b8c03
commit 832c8b6c25
4 changed files with 11 additions and 3 deletions

View File

@@ -108,11 +108,14 @@ CropWindow::CropWindow (ImageArea* parent, rtengine::StagedImageProcessor* ipc_,
cropHandler.setCropHandlerListener (this);
cropHandler.newImage (ipc_);
cropHandler.setEnabled (true);
state = SNormal;
}
void CropWindow::enable() {
cropHandler.setEnabled (true);
}
void CropWindow::setPosition (int x, int y) {
if (y<0)