diff --git a/DMX-2.0/MainWindow.cs b/DMX-2.0/MainWindow.cs index e4ddf01..a9ca4de 100644 --- a/DMX-2.0/MainWindow.cs +++ b/DMX-2.0/MainWindow.cs @@ -449,6 +449,12 @@ namespace DMX2 } catch (IOException) { } + foreach (Sequenceur s in Conduite.Courante.Sequenceurs) { + VBox newvbox = new VBox(); + newvbox.PackStart(s.GetUI(),false,false,0); + onglets.Add (newvbox); + onglets.ShowAll(); + } MajWidgets(); NextUpdateFull(); } diff --git a/DMX-2.0/SeqLinUI.cs b/DMX-2.0/SeqLinUI.cs index 27217fb..b98ae7d 100644 --- a/DMX-2.0/SeqLinUI.cs +++ b/DMX-2.0/SeqLinUI.cs @@ -24,7 +24,6 @@ namespace DMX2 this.Build (); titreLabel.Text = s.Name; sequenceur = s; - Update(true); #region Construction listeEffets // Construction de la liste d'effets @@ -74,7 +73,9 @@ namespace DMX2 dureeCell.Edited += EditDuree; transCell.Edited += EditTrans; + //Update(true); UpdListeEffets(); + #endregion } @@ -220,10 +221,15 @@ namespace DMX2 protected void FullUpdate () { - fullUpdFlag=true; + fullUpdFlag = true; lastKnownWidth = zoneWid.Allocation.Width; + if (lastKnownWidth < 50) { + fullUpdFlag=false; + return; + } + foreach (Widget wid in new List(zoneWid.Children)) zoneWid.Remove (wid);