[umbrello] [Bug 443580] Crashes on cancelling the creation of a new class with the "Creation" tool in sequence diagram

"Oliver Kellogg" <[email protected]>
Newsgroups gmane.linux.umbrello.devel
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=443580

Oliver Kellogg <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/sdk/
                   |                            |umbrello/commit/f2c182d2168
                   |                            |4c0be6241916155f48bcbc64f2d
                   |                            |8a
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
   Version Fixed In|                            |2.33.80 (KDE releases
                   |                            |22.03.80)

--- Comment #1 from Oliver Kellogg <[email protected]> ---
Git commit f2c182d21684c0be6241916155f48bcbc64f2d8a by Oliver Kellogg.
Committed on 11/02/2022 at 20:48.
Pushed by okellogg into branch 'master'.

Fix 'Crashes on cancelling the creation of a new class with the "Creation" tool
in sequence diagram'

umbrello/toolbarstatemessages.cpp
- In function mouseReleaseEmpty test return value from
  Object_Factory::createUMLObject() to be non null.
  If null then do not call Widget_Factory::createWidget and its follow-
  on operations.

umbrello/object_factory.cpp
- At function createUMLObject document the fact that the function may
  return nullptr.
FIXED-IN:2.33.80 (KDE releases 22.03.80)

M  +2    -0    umbrello/object_factory.cpp
M  +13   -9    umbrello/toolbarstatemessages.cpp

https://invent.kde.org/sdk/umbrello/commit/f2c182d21684c0be6241916155f48bcbc64f2d8a

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.