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) {
|
} 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();
|
MajWidgets();
|
||||||
NextUpdateFull();
|
NextUpdateFull();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@ namespace DMX2
|
||||||
this.Build ();
|
this.Build ();
|
||||||
titreLabel.Text = s.Name;
|
titreLabel.Text = s.Name;
|
||||||
sequenceur = s;
|
sequenceur = s;
|
||||||
Update(true);
|
|
||||||
|
|
||||||
#region Construction listeEffets
|
#region Construction listeEffets
|
||||||
// Construction de la liste d'effets
|
// Construction de la liste d'effets
|
||||||
|
|
@ -74,7 +73,9 @@ namespace DMX2
|
||||||
dureeCell.Edited += EditDuree;
|
dureeCell.Edited += EditDuree;
|
||||||
transCell.Edited += EditTrans;
|
transCell.Edited += EditTrans;
|
||||||
|
|
||||||
|
//Update(true);
|
||||||
UpdListeEffets();
|
UpdListeEffets();
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -224,6 +225,11 @@ namespace DMX2
|
||||||
|
|
||||||
lastKnownWidth = zoneWid.Allocation.Width;
|
lastKnownWidth = zoneWid.Allocation.Width;
|
||||||
|
|
||||||
|
if (lastKnownWidth < 50) {
|
||||||
|
fullUpdFlag=false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
foreach (Widget wid in new List<Widget>(zoneWid.Children))
|
foreach (Widget wid in new List<Widget>(zoneWid.Children))
|
||||||
zoneWid.Remove (wid);
|
zoneWid.Remove (wid);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue