wire cancel button for replay viewer
This commit is contained in:
@@ -16,6 +16,12 @@ namespace OpenRA.Widgets.Delegates
|
||||
public ReplayBrowserDelegate( [ObjectCreator.Param] Widget widget )
|
||||
{
|
||||
/* todo */
|
||||
|
||||
widget.GetWidget("CANCEL_BUTTON").OnMouseUp = mi =>
|
||||
{
|
||||
Widget.CloseWindow();
|
||||
return true;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user