/// </summary>\r
public void OpenPreviewWindow()\r
{\r
- if (!string.IsNullOrEmpty(this.CurrentTask.Source))\r
+ if (!string.IsNullOrEmpty(this.CurrentTask.Source) && !this.StaticPreviewViewModel.IsOpen)\r
{\r
this.StaticPreviewViewModel.IsOpen = true;\r
this.StaticPreviewViewModel.UpdatePreviewFrame(this.CurrentTask, this.ScannedSource);\r
mc:Ignorable="d" SizeToContent="WidthAndHeight"\r
TextOptions.TextFormattingMode="Display"\r
WindowStartupLocation="CenterScreen"\r
+ cal:Message.Attach="[Event Closing] = [Action Close]"\r
Title="{Binding Title}">\r
\r
<Window.Resources>\r