Commit 9c48fd20 authored by Aleksei Kanash's avatar Aleksei Kanash

Fix to SANKORE-337

parent 0e3b8447
...@@ -1755,6 +1755,9 @@ void UBGraphicsScene::addCache() ...@@ -1755,6 +1755,9 @@ void UBGraphicsScene::addCache()
mTools << cache; mTools << cache;
addItem(cache); addItem(cache);
cache->setData(UBGraphicsItemData::ItemLayerType, QVariant(UBItemLayerType::Tool));
cache->setVisible(true); cache->setVisible(true);
cache->setSelected(true); cache->setSelected(true);
UBApplication::boardController->notifyCache(true); UBApplication::boardController->notifyCache(true);
......
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