style<UpdateAvailable>: show update available window as dialog and centered in Launcher

This commit is contained in:
leo 2020-12-01 14:32:02 +08:00
parent f8561bb9da
commit 7e01792a37
2 changed files with 3 additions and 2 deletions

View file

@ -103,7 +103,7 @@ namespace SourceGit.UI {
Dispatcher.Invoke(() => {
var dialog = new UpdateAvailable(ver);
dialog.Owner = this;
dialog.Show();
dialog.ShowDialog();
});
}
} catch {