intro: remove progressbar from parent when cloning a second time
This commit is contained in:
parent
c71006bf47
commit
c6b2b90db9
|
@ -558,6 +558,9 @@ namespace SparkleShare {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (this,progress_bar.Parent != null)
|
||||||
|
this.progress_bar.Parent.Remove (this.progress_bar);
|
||||||
|
|
||||||
layout_vertical.PackStart (this.progress_bar, false, false, 54);
|
layout_vertical.PackStart (this.progress_bar, false, false, 54);
|
||||||
|
|
||||||
Add (layout_vertical);
|
Add (layout_vertical);
|
||||||
|
|
Loading…
Reference in a new issue