[umbrello-devel] [umbrello] [Bug 92994] class and other dialogues update model before pressing OK or apply

Ralf Habacker via KDE Bugzilla bugzilla_noreply at kde.org
Thu May 5 03:24:39 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=92994

--- Comment #6 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to Ralf Habacker from comment #5)
> (In reply to Lays Rodrigues from comment #4)
> > I guess that this bug is because when you insert a new
> > attribute/template/operations, a slot apply inside the
> > class(umlattributedialog.cpp) is already called. Isn't a slot addNewFoo, the
> > slot apply is called automatically, so that's why the file is automatically
> > updated in add or remove this features.

A quick check shows that QUndoStack::beginMacro() (see
http://doc.qt.io/qt-4.8/qundostack.html#beginMacro) may help here.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list