avoid npe
This commit is contained in:
parent
d34655db07
commit
dde6152972
@ -239,6 +239,7 @@ DoricViewNode::pureCallJSResponse(QString funcId, QVariantList args) {
|
||||
|
||||
void DoricViewNode::onClick() {
|
||||
if (clickFunction.isEmpty()) {
|
||||
if (mSuperNode != nullptr)
|
||||
mSuperNode->onClick();
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user