mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-26 23:24:00 +08:00
display plugins compilation errors.
This commit is contained in:
parent
2224d25063
commit
cb32888ffd
@ -90,6 +90,7 @@ namespace GARbro.GUI
|
||||
|
||||
void WindowRendered ()
|
||||
{
|
||||
var compilation_error = FormatCatalog.Instance.LastError;
|
||||
DirectoryViewModel vm = null;
|
||||
try
|
||||
{
|
||||
@ -105,6 +106,10 @@ namespace GARbro.GUI
|
||||
}
|
||||
ViewModel = vm;
|
||||
lv_SelectItem (0);
|
||||
if (compilation_error != null)
|
||||
{
|
||||
PopupError (compilation_error.Message, "GameRes library initialization error");
|
||||
}
|
||||
if (!vm.IsArchive)
|
||||
SetStatusText (guiStrings.MsgReady);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user