Correction bug affichage des sequenceurs chargés
This commit is contained in:
parent
c4aad3552c
commit
20205a607a
2 changed files with 14 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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<Widget>(zoneWid.Children))
|
||||
zoneWid.Remove (wid);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue