Skip to content
Commit 401f6cee authored by Oliver Kellogg's avatar Oliver Kellogg
Browse files

umbrello/dialogs/pages/classgeneralpage.cpp crash fix for UMLInstance

- In ClassGeneralPage(UMLDoc*, QWidget*, UMLObject*),
  if `t' is UMLObject::ot_Instance then
  - add local UMLInstance *inst as shorthand for
    m_pObject->asUMLInstance();
  - rename existing local className to classNameLabel;
  - add local className of type QString;
  - if inst->classifier() is non null then set className to
    inst->classifier()->name();
  - on constructing new UMLObjectNameWidget provide arguments
    classNameLabel, className.
parent 3203b16a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment