improve Python call tips window
This commit is contained in:
@@ -415,7 +415,11 @@ void CallTipsList::extractTipsFromObject(Py::Object& obj, Py::List& list, QMap<Q
|
||||
tip.parameter = longdoc.left(pos);
|
||||
}
|
||||
}
|
||||
tips[str] = tip;
|
||||
|
||||
// Do not override existing items
|
||||
QMap<QString, CallTip>::iterator pos = tips.find(str);
|
||||
if (pos == tips.end())
|
||||
tips[str] = tip;
|
||||
}
|
||||
}
|
||||
catch (Py::Exception& e) {
|
||||
|
||||
Reference in New Issue
Block a user