From cb32888ffd06c439f93d3d2c1da6862cde9e8430 Mon Sep 17 00:00:00 2001 From: morkt Date: Tue, 22 Mar 2016 00:14:51 +0400 Subject: [PATCH] display plugins compilation errors. --- GUI/MainWindow.xaml.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/GUI/MainWindow.xaml.cs b/GUI/MainWindow.xaml.cs index 5d2934a6..67b701c3 100644 --- a/GUI/MainWindow.xaml.cs +++ b/GUI/MainWindow.xaml.cs @@ -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); }