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 9 years ago
parent 82983ca2a6
commit dd24e3ada3
  1. 1
      src/board/UBDrawingController.cpp

@ -147,6 +147,7 @@ void UBDrawingController::setStylusTool(int tool)
UBApplication::mainWindow->actionCapture->setChecked(true);
emit stylusToolChanged(tool);
if (mStylusTool != UBStylusTool::Selector)
emit colorPaletteChanged();
}
}

Loading…
Cancel
Save