Commit dd24e3ad authored by Craig Watson's avatar Craig Watson

Don't update color palette when Selector tool is picked

This makes it possible e.g to use the colorPicker app in conjunction
with the compass.
Colors will still be updated when one clicks the pen or marker tools.
parent 82983ca2
......@@ -147,7 +147,8 @@ void UBDrawingController::setStylusTool(int tool)
UBApplication::mainWindow->actionCapture->setChecked(true);
emit stylusToolChanged(tool);
emit colorPaletteChanged();
if (mStylusTool != UBStylusTool::Selector)
emit colorPaletteChanged();
}
}
......
Markdown is supported
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