Skip to content

Commit

Permalink
Merge pull request #4 from SparrowBrain/fix_startup
Browse files Browse the repository at this point in the history
Fixed BackMeUp not starting up due to window visibility
  • Loading branch information
SparrowBrain authored Nov 28, 2021
2 parents 8d79fa0 + a177ec5 commit b4426c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BackMeUp/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
xmlns:tb="http://www.hardcodet.net/taskbar"
xmlns:converters="clr-namespace:BackMeUp.Converters"
mc:Ignorable="d"
Loaded="Window_Loaded"
Initialized="Window_Initialized"
WindowStyle="None"
Width="0"
Height="0"
Expand Down
2 changes: 1 addition & 1 deletion BackMeUp/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public string Status

public string Version { get => $"v{Assembly.GetExecutingAssembly().GetName().Version.ToString(3)}"; }

private void Window_Loaded(object sender, RoutedEventArgs e)
private void Window_Initialized(object sender, EventArgs e)
{
Logger.Info("Starting up...");
var configuration = ReadConfiguration();
Expand Down

0 comments on commit b4426c7

Please sign in to comment.