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

Lays Rodrigues via KDE Bugzilla bugzilla_noreply at kde.org
Mon May 9 18:50:46 UTC 2016


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

--- Comment #7 from Lays Rodrigues <laysrodriguessilva at gmail.com> ---
Ralf, just to refresh my memory, in this bug I will make the queue and
remove the button apply?
I'm working in the others bugs right now.
Cheers,


On Thu, May 5, 2016 at 12:24 AM, Ralf Habacker via KDE Bugzilla <
bugzilla_noreply at kde.org> wrote:

> 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.
> _______________________________________________
> umbrello-devel mailing list
> umbrello-devel at kde.org
> https://mail.kde.org/mailman/listinfo/umbrello-devel
>

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


More information about the umbrello-devel mailing list