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

Fix visibility on c++ import.

The root cause for this issue is that CmdSetVisibility requires to have
the uml object in the document uml object list, which is not the case for
newly created attributes or operations on import.

parent 5bcb5337
......@@ -437,7 +437,7 @@ void insertMethod(UMLClassifier *klass, UMLOperation* &op,
bool isFriend, bool isConstructor,
const QString& comment)
if (!type.isEmpty() // return type may be missing (constructor/destructor)
&& type != QLatin1String("void")) {
if (type == klass->name()) {
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