Commit c3afcda6 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

When creating class methods for an interface through the user interface set...

When creating class methods for an interface through the user interface set abstract and virtual attributes

BUG:413519
FIXED-IN:2.29.3 (KDE Applications 19.08.03)
parent 0333988f
......@@ -262,6 +262,11 @@ UMLOperation* UMLClassifier::createOperation(
}
}
if (isInterface()) {
op->setAbstract(true);
op->setVirtual(true);
}
// Only show the operation dialog if no name was provided (allows quick-create
// from listview)
if (nameNotSet) {
......
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