This commit is contained in:
Chris Forbes
2011-11-04 08:29:46 +13:00
parent 7498af6b66
commit 58b437b7ea
2 changed files with 3 additions and 1 deletions

View File

@@ -35,7 +35,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
this.filesToCopy = filesToCopy;
this.filesToExtract = filesToExtract;
panel = widget.GetWidget("INSTALL_FROMCD_PANEL");
panel = widget;
progressBar = panel.GetWidget<ProgressBarWidget>("PROGRESS_BAR");
statusLabel = panel.GetWidget<LabelWidget>("STATUS_LABEL");
@@ -47,6 +47,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
installingContainer = panel.GetWidget("INSTALLING");
insertDiskContainer = panel.GetWidget("INSERT_DISK");
CheckForDisk();
}