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