changed default tool when switching to the board mode

preferencesAboutTextFull
Claudio Valerio 12 years ago
parent 43407ddd0c
commit 594d77a2aa
  1. 2
      src/domain/UBGraphicsScene.cpp

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

Loading…
Cancel
Save