colour picker died when crop tool was activated while colour picker was active

This commit is contained in:
heckflosse 2016-10-10 17:10:31 +02:00
parent 0821eea7b6
commit b8eb3492c9

View File

@ -438,7 +438,7 @@ void ToolBar::crop_pressed ()
bool cropWasBlocked = cropConn.block (true); bool cropWasBlocked = cropConn.block (true);
bool wbWasBlocked = true, cpWasBlocked = true; bool wbWasBlocked = true, cpWasBlocked = true;
if (colPickerTool) { if (colPickerTool) {
cpConn.block(true); cpWasBlocked = cpConn.block(true);
} }
if (wbTool) { if (wbTool) {