Commit 381fd8d2 authored by Tzvetelin Katchov's avatar Tzvetelin Katchov

Add Package path select in Enum properties dialog

Show or change package in field "Package Path".

REVIEW:126609
BUG:357442
FIXED-IN:2.18.1 (KDE Applications 15.12.1)
Signed-off-by: default avatarTzvetelin Katchov <katchov@gmail.com>
parent 67a5df53
......@@ -110,7 +110,7 @@ ClassGeneralPage::ClassGeneralPage(UMLDoc* d, QWidget* parent, UMLObject* o)
++row;
}
if (t == UMLObject::ot_Class || t == UMLObject::ot_Interface) {
if (t == UMLObject::ot_Class || t == UMLObject::ot_Interface || t == UMLObject::ot_Enum) {
m_packageWidget = new UMLPackageWidget(m_pObject);
m_packageWidget->addToLayout(m_pNameLayout, row);
++row;
......@@ -282,7 +282,7 @@ void ClassGeneralPage::apply()
if (m_pObject) {
UMLObject::ObjectType t = m_pObject->baseType();
if (t == UMLObject::ot_Class || t == UMLObject::ot_Interface) {
if (t == UMLObject::ot_Class || t == UMLObject::ot_Interface || t == UMLObject::ot_Enum) {
m_packageWidget->apply();
}
......
Markdown is supported
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