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.
preferencesAboutTextFull
Craig Watson 8 years ago
parent 82983ca2a6
commit dd24e3ada3
  1. 3
      src/board/UBDrawingController.cpp

@ -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();
}
}

Loading…
Cancel
Save