mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
fix typo with function-name
This commit is contained in:
@@ -91,7 +91,7 @@ void RotateSelectionCommand::undo()
|
||||
for(const QPointer<ConductorTextItem>& cti : m_cond_text)
|
||||
{
|
||||
cti->forceRotateByUser(m_rotate_by_user.value(cti.data()));
|
||||
if(!cti->wasRotateByUser())
|
||||
if(!cti->wasRotatedByUser())
|
||||
cti->parentConductor()->calculateTextItemPosition();
|
||||
}
|
||||
}
|
||||
@@ -106,7 +106,7 @@ void RotateSelectionCommand::redo()
|
||||
|
||||
for(const QPointer<ConductorTextItem>& cti : m_cond_text)
|
||||
{
|
||||
m_rotate_by_user.insert(cti, cti->wasRotateByUser());
|
||||
m_rotate_by_user.insert(cti, cti->wasRotatedByUser());
|
||||
cti->forceRotateByUser(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user