Skip to content

Commit

Permalink
commit and push is advanced only fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zezba9000 committed Nov 8, 2017
1 parent cf88ca1 commit f396015
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GitItGUI.UI/Screens/RepoTabs/ChangesTab.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit f396015

Please sign in to comment.