From 0491ce9e0b5504fbf435005381b3c71b93e3a569 Mon Sep 17 00:00:00 2001 From: Craig Watson Date: Mon, 4 Apr 2016 14:12:44 +0200 Subject: [PATCH] Don't select images when adding them to the board --- src/board/UBBoardController.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/board/UBBoardController.cpp b/src/board/UBBoardController.cpp index 7c39eb36..31b732c2 100644 --- a/src/board/UBBoardController.cpp +++ b/src/board/UBBoardController.cpp @@ -1122,7 +1122,6 @@ UBItem *UBBoardController::downloadFinished(bool pSuccess, QUrl sourceUrl, QUrl { mActiveScene->scaleToFitDocumentSize(pixItem, true, UBSettings::objectInControlViewMargin); UBDrawingController::drawingController()->setStylusTool(UBStylusTool::Selector); - pixItem->setSelected(true); } return pixItem; @@ -1142,7 +1141,6 @@ UBItem *UBBoardController::downloadFinished(bool pSuccess, QUrl sourceUrl, QUrl { mActiveScene->scaleToFitDocumentSize(svgItem, true, UBSettings::objectInControlViewMargin); UBDrawingController::drawingController()->setStylusTool(UBStylusTool::Selector); - svgItem->setSelected(true); } return svgItem;