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 ()
{
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);
}