Make sure picking of text and reach circle annotations isn't enabled after loading project

This commit is contained in:
Gaute Lindkvist
2019-04-12 13:58:54 +02:00
parent 9aa7ac2591
commit 89a16103c9
6 changed files with 23 additions and 3 deletions

View File

@@ -62,6 +62,7 @@ void RicCreateTextAnnotationFeature::onActionTriggered(bool isChecked)
if (coll)
{
auto newAnnotation = new RimTextAnnotation();
newAnnotation->enablePicking(true);
coll->addAnnotation(newAnnotation);
coll->updateConnectedEditors();
RiuMainWindow::instance()->selectAsCurrentItem(newAnnotation);