From: mfranz Date: Tue, 7 Apr 2009 15:05:57 +0000 (+0000) Subject: Ctrl-Shift-click on the '.' entry fires listeners of the parent node. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a57b62663345ccfde56ffa43c800ae93097f17aa;p=flightgear.git Ctrl-Shift-click on the '.' entry fires listeners of the parent node. This can be used to validate atomic branches after individual members have been changed. (This is useful no matter how the discussion on aggregate property types ends, and not meant to enforce/accelerate a decision.) --- diff --git a/src/GUI/property_list.cxx b/src/GUI/property_list.cxx index 6a8bbdc47..647d8035f 100644 --- a/src/GUI/property_list.cxx +++ b/src/GUI/property_list.cxx @@ -195,7 +195,9 @@ void PropertyList::handle_select(puObject *list_box) if (prop_list->_dot_files && (selected < 2)) { if (src[0] == '.' && (src[1] == '\0' || src[1] == ' ')) { - if (mod_ctrl) + if (mod_ctrl && mod_shift) + prop_list->_curr->fireValueChanged(); + else if (mod_ctrl) prop_list->toggleVerbosity(); else if (mod_shift) dumpProperties(prop_list->_curr);