Bug 336709

Summary: No undo support for applying layouts
Product: [Applications] umbrello Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.13.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 2.13.2 (KDE 4.13.2)

Description Ralf Habacker 2014-06-25 14:25:56 UTC
A layout applied to a diagram is not undoable.

Reproducible: Always

Steps to Reproduce:
1. open umbrello
2. open umbrello file or import classes 
3. place classes on a diagram
4. apply layout 
5. press STRG-Z
Actual Results:  
The class positions before applying the layout is not applied

Expected Results:  
The class positions before applying the layout should be restored
Comment 1 Ralf Habacker 2014-06-25 14:29:02 UTC
Git commit d9d5adacab726c7609ddc69fb905ae8294a55a7b by Ralf Habacker.
Committed on 25/06/2014 at 14:26.
Pushed by habacker into branch 'master'.

Fix of 'No undo support for applying layouts'.

M  +10   -1    umbrello/layoutgenerator.cpp
M  +9    -0    umbrello/widgets/umlwidget.cpp
M  +2    -0    umbrello/widgets/umlwidget.h

http://commits.kde.org/umbrello/d9d5adacab726c7609ddc69fb905ae8294a55a7b