Bug 336709 - No undo support for applying layouts
Summary: No undo support for applying layouts
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.13.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-25 14:25 UTC by Ralf Habacker
Modified: 2015-09-05 22:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 2.13.2 (KDE 4.13.2)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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