From f3960155cfc6f871a296cd7d56f1d77294dc6276 Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 7 Nov 2017 18:27:30 -0800 Subject: [PATCH] commit and push is advanced only fix --- GitItGUI.UI/Screens/RepoTabs/ChangesTab.xaml.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GitItGUI.UI/Screens/RepoTabs/ChangesTab.xaml.cs b/GitItGUI.UI/Screens/RepoTabs/ChangesTab.xaml.cs index 379509c..01ec376 100644 --- a/GitItGUI.UI/Screens/RepoTabs/ChangesTab.xaml.cs +++ b/GitItGUI.UI/Screens/RepoTabs/ChangesTab.xaml.cs @@ -894,6 +894,7 @@ private void stagedChangesListBox_SelectionChanged(object sender, SelectionChang private void simpleModeMenuItem_Click(object sender, RoutedEventArgs e) { AppManager.settings.simpleMode = true; + commitAndPushButton.Visibility = Visibility.Hidden; commitButton.Visibility = Visibility.Hidden; pullButton.Visibility = Visibility.Hidden; pushButton.Visibility = Visibility.Hidden; @@ -902,6 +903,7 @@ private void simpleModeMenuItem_Click(object sender, RoutedEventArgs e) private void advancedModeMenuItem_Click(object sender, RoutedEventArgs e) { AppManager.settings.simpleMode = false; + commitAndPushButton.Visibility = Visibility.Visible; commitButton.Visibility = Visibility.Visible; pullButton.Visibility = Visibility.Visible; pushButton.Visibility = Visibility.Visible;