From 5c5f073dc17e1a8bd776e91f39af9b380cd89e50 Mon Sep 17 00:00:00 2001 From: erri120 Date: Mon, 7 Oct 2019 15:53:51 +0200 Subject: [PATCH] Changing properties now only works in compiler mode --- Wabbajack/MainWindow.xaml | 10 ++++++++-- Wabbajack/MainWindow.xaml.cs | 11 +++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/Wabbajack/MainWindow.xaml b/Wabbajack/MainWindow.xaml index 90ca4b0c..c3636d0e 100644 --- a/Wabbajack/MainWindow.xaml +++ b/Wabbajack/MainWindow.xaml @@ -32,16 +32,22 @@ - + - + + + + + + diff --git a/Wabbajack/MainWindow.xaml.cs b/Wabbajack/MainWindow.xaml.cs index f7d76cb3..d2558c2a 100644 --- a/Wabbajack/MainWindow.xaml.cs +++ b/Wabbajack/MainWindow.xaml.cs @@ -44,6 +44,17 @@ namespace Wabbajack _state._nexusSiteURL = "https://github.com/wabbajack-tools/wabbajack"; + if(mode == RunMode.Compile) + { + PropertyCompilerGrid.Visibility = Visibility.Visible; + PropertyInstallerGrid.Visibility = Visibility.Hidden; + } + else + { + PropertyCompilerGrid.Visibility = Visibility.Hidden; + PropertyInstallerGrid.Visibility = Visibility.Visible; + } + new Thread(() => { if (mode == RunMode.Compile)