- [Core] fix AssetBrowser order

This commit is contained in:
Razmoth
2023-11-25 19:29:07 +04:00
parent 148969c457
commit 445460db62
2 changed files with 7 additions and 5 deletions

View File

@@ -113,8 +113,8 @@ namespace AssetStudio.GUI
{
0 => assetEntry.Name,
1 => assetEntry.Container,
2 => assetEntry.PathID,
3 => assetEntry.Source,
2 => assetEntry.Source,
3 => assetEntry.PathID,
4 => assetEntry.Type,
_ => ""
};
@@ -152,8 +152,8 @@ namespace AssetStudio.GUI
{
0 => x => x.Name,
1 => x => x.Container,
2 => x => x.PathID,
3 => x => x.Source,
2 => x => x.Source,
3 => x => x.PathID,
4 => x => x.Type,
_ => x => ""
};

View File

@@ -1425,7 +1425,9 @@ namespace AssetStudio.GUI
{
if (InvokeRequired)
{
BeginInvoke(new Action(() => { progressBar1.Value = value; }));
var result = BeginInvoke(new Action(() => { progressBar1.Value = value; }));
result.AsyncWaitHandle.WaitOne();
}
else
{