fix typo with function-name

This commit is contained in:
plc-user
2025-03-07 20:53:07 +01:00
parent 0804d3524a
commit 0084dcf289
5 changed files with 8 additions and 8 deletions

View File

@@ -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);
}
}