Commit 015a78c0 authored by Matthias Möller's avatar Matthias Möller
Browse files

- add missing restored signal for gui buttons

- fixes problem with textures after undo operation

refs #2407

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@20278 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 272f1675
......@@ -383,7 +383,10 @@ void BackupPlugin::slotUndo(){
globalBackup_.undo();
for (unsigned int i=0; i < group->objectIDs().size(); i++)
{
emit restored(group->objectIDs()[i]);
emit updatedObject(group->objectIDs()[i], UPDATE_ALL);
}
updateButtons();
} else
......@@ -411,7 +414,10 @@ void BackupPlugin::slotRedo(){
if ( group != 0)
for (unsigned int i=0; i < group->objectIDs().size(); i++)
{
emit restored(group->objectIDs()[i]);
emit updatedObject(group->objectIDs()[i], UPDATE_ALL);
}
updateButtons();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment