extras/CheckListBox: Moved back NotifyChecked() to fix req. component size in Installer
authorJerome St-Louis <jerome@ecere.com>
Wed, 7 Aug 2013 20:35:48 +0000 (16:35 -0400)
committerJerome St-Louis <jerome@ecere.com>
Wed, 7 Aug 2013 20:35:48 +0000 (16:35 -0400)
- Verified with Mapping tool

extras/gui/controls/CheckListBox.ec

index 1a5b3b5..99dabeb 100644 (file)
@@ -245,6 +245,8 @@ class CheckListBox : ListBox
             // Take out all children from rowChecks, checking them all
             UnsetChildren(rr);
 
+            NotifyChecked(master, this, row);
+
             for(parent = rr.parent; parent; parent = parent.parent)
             {
                CheckListBoxButton button = buttonMaps[(uintptr)parent];
@@ -304,8 +306,6 @@ class CheckListBox : ListBox
                }
             }
          }
-
-         NotifyChecked(master, this, row);
       }
    }