Verified Commit 473d554a authored by Antonio Prcela's avatar Antonio Prcela 🏞
Browse files

Save Annotation tool settings across launches

Save Annotation tool settings across launches, so the user always has, for example,
the same font settings in the annotator.

FEATURE: 436608
parent a71c32a1
Pipeline #106153 passed with stage
in 48 seconds
......@@ -45,6 +45,7 @@ KSWidget::KSWidget(Platform::GrabModes theGrabModes, QWidget *parent)
mAnnotator = new kImageAnnotator::KImageAnnotator();
mAnnotator->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
mAnnotator->setCanvasColor(QColor(255, 255, 255, 0));
mAnnotator->setSaveToolSelection(true);
#ifdef KIMAGEANNOTATOR_HAS_EXTRA_TOOLS
mAnnotator->setControlsWidgetVisible(true);
#endif
......
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