diff --git a/DMX-2.0/SeqMacroUI.cs b/DMX-2.0/SeqMacroUI.cs index 86caa4c..0778ffc 100644 --- a/DMX-2.0/SeqMacroUI.cs +++ b/DMX-2.0/SeqMacroUI.cs @@ -19,12 +19,8 @@ namespace DMX2 effetChange = true; } - public SeqMacroUI (SequenceurMacro s ) : base (s) + protected void ConstruitMatrice () { - this.Build (); - titreLabel.Text = s.Name; - sequenceur = s; - var idCol = new Gtk.TreeViewColumn (); var idCell = new Gtk.CellRendererText (); idCol.Title = "Num"; @@ -80,6 +76,15 @@ namespace DMX2 lsMatrice = new Gtk.ListStore(typeof (SequenceurMaitre.Ligne)); // a modifier this.MatriceUI.Model = lsMatrice; + } + + public SeqMacroUI (SequenceurMacro s ) : base (s) + { + this.Build (); + titreLabel.Text = s.Name; + sequenceur = s; + ConstruitMatrice (); + }