Skip to content

Commit

Permalink
fix hiding
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharkboy-j committed Sep 22, 2022
1 parent 5d8c7ce commit d5d69b0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Kebler/Views/KeblerView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ private void CustomizableWindow_Closing(object sender, CancelEventArgs e)
e.Cancel = true;

this.Hide();


if (DataContext is KeblerViewModel vm)
{
vm.State = WindowState.Minimized;
}
}
}

Expand Down

0 comments on commit d5d69b0

Please sign in to comment.