From 386460a821528542a142ce63a873daae7137c0fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20K=C3=B6nig?= Date: Fri, 6 Nov 2020 11:52:10 +0100 Subject: [PATCH] Removed two unnecessary dialogs during import/export logic --- .../ViewServices/_ExportDialog/ExportDialogControlViewModel.cs | 1 - .../ViewServices/_ImportDialog/ImportViewService.cs | 1 - 2 files changed, 2 deletions(-) diff --git a/MessageCommunicator.TestGui/ViewServices/_ExportDialog/ExportDialogControlViewModel.cs b/MessageCommunicator.TestGui/ViewServices/_ExportDialog/ExportDialogControlViewModel.cs index 66079d9..31f7831 100644 --- a/MessageCommunicator.TestGui/ViewServices/_ExportDialog/ExportDialogControlViewModel.cs +++ b/MessageCommunicator.TestGui/ViewServices/_ExportDialog/ExportDialogControlViewModel.cs @@ -78,7 +78,6 @@ where actLine.DoExport }, "dataPackage" ); if (string.IsNullOrEmpty(fileName)) { - await srvMessageBox.ShowAsync("Export", "No file selected!", MessageBoxButtons.Ok); return; } diff --git a/MessageCommunicator.TestGui/ViewServices/_ImportDialog/ImportViewService.cs b/MessageCommunicator.TestGui/ViewServices/_ImportDialog/ImportViewService.cs index 7f0e46c..0d7a45c 100644 --- a/MessageCommunicator.TestGui/ViewServices/_ImportDialog/ImportViewService.cs +++ b/MessageCommunicator.TestGui/ViewServices/_ImportDialog/ImportViewService.cs @@ -36,7 +36,6 @@ public ImportViewService(DialogHostControl host) if (string.IsNullOrEmpty(fileToImport)) { - await srvMessageBox.ShowAsync("Import", "No file selected!", MessageBoxButtons.Ok); return null; }