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

Lays Rodrigues laysrodriguessilva at gmail.com
Mon May 9 18:50:39 UTC 2016


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
>



-- 
*--*
*Lays Rodrigues*
*Front End Developer at Br-Print3D*
*Computer Science Student at Universidade Federal Fluminense*
*brprint3d.wordpress.com <http://brprint3d.wordpress.com>*
*fb.com/laysrodrigues147 <http://fb.com/laysrodrigues147>*
*Telegram @lays147*
*IRC lays147*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/umbrello-devel/attachments/20160509/4067428d/attachment.html>


More information about the umbrello-devel mailing list