This commit is contained in:
Grant Limberg 2016-11-09 10:32:18 -08:00
parent 7cf3d2caa1
commit 005b5aacaf
4 changed files with 8 additions and 12 deletions

View file

@ -26,7 +26,7 @@ namespace WinUI
{
private APIHandler handler = APIHandler.Instance;
NetworkList netList = null;
NetworkListView netList = null;
public ToolbarItem()
{
@ -52,12 +52,8 @@ namespace WinUI
{
if (netList == null)
{
netList = new WinUI.NetworkList();
netList = new WinUI.NetworkListView();
netList.Closed += ShowNetworksClosed;
}
if (!netList.IsVisible)
{
netList.Show();
}
}