display plugins compilation errors.

This commit is contained in:
morkt 2016-03-22 00:14:51 +04:00
parent 2224d25063
commit cb32888ffd

View File

@ -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);
} }