update progress updater
This commit is contained in:
@@ -6,6 +6,7 @@ using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using Microsoft.VisualBasic;
|
||||
using Telerik.WinControls.UI;
|
||||
|
||||
namespace SM64_ROM_Manager.ProgressUpdater
|
||||
{
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace SM64_ROM_Manager.ProgressUpdater
|
||||
RadListDataItem selectedItem = null;
|
||||
foreach (RadListDataItem item in RadListControl_Paragraph.Items)
|
||||
{
|
||||
if (selectedItem == null && item is RadCheckedListDataItem && ((RadCheckedListDataItem)item).Checked)
|
||||
if (selectedItem == null && item.Selected)
|
||||
selectedItem = item;
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ namespace SM64_ROM_Manager.ProgressUpdater
|
||||
RadListControl_Paragraph.Refresh();
|
||||
|
||||
if (RadListControl_Paragraph.Items.Any())
|
||||
((RadCheckedListDataItem)RadListControl_Paragraph.Items[0]).Checked = true;
|
||||
RadListControl_Paragraph.Items[0].Selected = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<StartupObject>SM64_ROM_Manager.ProgressUpdater.My.MyApplication</StartupObject>
|
||||
|
||||
Reference in New Issue
Block a user