Commit 594d77a2 authored by Claudio Valerio's avatar Claudio Valerio

changed default tool when switching to the board mode

parent 43407ddd
......@@ -337,7 +337,7 @@ void UBGraphicsScene::updateGroupButtonState()
UBStylusTool::Enum currentTool = (UBStylusTool::Enum)UBDrawingController::drawingController()->stylusTool();
if (UBStylusTool::Selector != currentTool)
return;
UBDrawingController::drawingController()->setStylusTool(UBStylusTool::Selector);
QAction *groupAction = UBApplication::mainWindow->actionGroupItems;
QList<QGraphicsItem*> selItems = selectedItems();
......
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