mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-09 21:54:13 +02:00
Merge branch 'master' into feat/1070-item-groups
This commit is contained in:
@@ -2070,7 +2070,7 @@ void QETDiagramEditor::selectionGroupTriggered(QAction *action)
|
||||
//nothing to rotate.
|
||||
if (RotateTextsCommand::hasSelectedTexts(diagram))
|
||||
{
|
||||
qreal rotation = 0;
|
||||
qreal rotation = RotateTextsCommand::currentRotation(diagram);
|
||||
if (RotateTextsCommand::askRotation(rotation))
|
||||
diagram->undoStack().push(new RotateTextsCommand(diagram, rotation));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user