]> git.mxchange.org Git - flightgear.git/commitdiff
Ctrl-Shift-click on the '.' entry fires listeners of the parent node.
authormfranz <mfranz>
Tue, 7 Apr 2009 15:05:57 +0000 (15:05 +0000)
committerTim Moore <timoore@redhat.com>
Wed, 15 Apr 2009 21:19:29 +0000 (23:19 +0200)
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.)

src/GUI/property_list.cxx

index 6a8bbdc47fd43c1157217b07f3b2cce6ed362740..647d8035f4f0db7e33c4287e72092735a1cf345b 100644 (file)
@@ -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);