This commit is contained in:
+2
-2
@@ -240,9 +240,9 @@ namespace Elwig {
|
||||
}
|
||||
}
|
||||
|
||||
public static void ReplaceDatabase(string filename) {
|
||||
public static async Task ReplaceDatabase(string filename) {
|
||||
try {
|
||||
ElwigData.ImportDatabase(filename);
|
||||
await ElwigData.ImportDatabase(filename);
|
||||
MessageBox.Show("Das Ersetzen war erfolgreich!\n\nBitte starten Sie Elwig neu!", "Datenbank ersetzen", MessageBoxButton.OK, MessageBoxImage.Information);
|
||||
ForceShutdown = true;
|
||||
Current.Shutdown();
|
||||
|
||||
Reference in New Issue
Block a user