improve Python call tips window

This commit is contained in:
wmayer
2018-09-27 21:49:20 +02:00
parent 3d2d4bdfcb
commit 0812fb06df

View File

@@ -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) {