mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 16:20:52 +01:00
Wrap code for better readability
This commit is contained in:
@@ -55,7 +55,8 @@ bool ChangeElementInformationCommand::mergeWith(const QUndoCommand *other)
|
||||
/**
|
||||
@brief ChangeElementInformationCommand::undo
|
||||
*/
|
||||
void ChangeElementInformationCommand::undo() {
|
||||
void ChangeElementInformationCommand::undo()
|
||||
{
|
||||
m_element -> setElementInformations(m_old_info);
|
||||
updateProjectDB();
|
||||
}
|
||||
@@ -63,7 +64,8 @@ void ChangeElementInformationCommand::undo() {
|
||||
/**
|
||||
@brief ChangeElementInformationCommand::redo
|
||||
*/
|
||||
void ChangeElementInformationCommand::redo() {
|
||||
void ChangeElementInformationCommand::redo()
|
||||
{
|
||||
m_element -> setElementInformations(m_new_info);
|
||||
updateProjectDB();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user