mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
Le cartouche se rafraichit desormais des la fermture du dialogue d'edition
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@183 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -447,11 +447,13 @@ ChangeInsetCommand::~ChangeInsetCommand() {
|
||||
/// Annule la modification de cartouche
|
||||
void ChangeInsetCommand::undo() {
|
||||
diagram -> border_and_inset.importInset(old_inset);
|
||||
diagram -> invalidate(diagram -> border());
|
||||
}
|
||||
|
||||
/// Refait la modification de cartouche
|
||||
void ChangeInsetCommand::redo() {
|
||||
diagram -> border_and_inset.importInset(new_inset);
|
||||
diagram -> invalidate(diagram -> border());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user