Disable ok button in the link dialog when there's no sender/receiver; fix toggling Active not changing game mode visibility

This commit is contained in:
parax0
2016-03-07 07:41:45 -07:00
parent c3ae63718b
commit f4484556c0
3 changed files with 22 additions and 10 deletions

View File

@@ -495,6 +495,10 @@ void CScriptNode::PropertyModified(IProperty *pProp)
// Update script extra
if (mpExtra) mpExtra->PropertyModified(pProp);
// Update game mode visibility
if (pProp && pProp == mpInstance->ActiveProperty())
TestGameModeVisibility();
}
void CScriptNode::UpdatePreviewVolume()