summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml
diff options
context:
space:
mode:
authorsr55 <[email protected]>2018-12-14 20:57:01 +0000
committersr55 <[email protected]>2018-12-14 20:57:01 +0000
commit591fa3ab6b24409c2a515a7a8dc28ed071deefac (patch)
tree4fccbba887ae5cd986f1965e01ad218c94185185 /win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml
parentc69dfd82e7c3e720245d77410cfaa87a7a502b35 (diff)
WinGui: Don't allow multiple preview windows to be opened.
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml')
-rw-r--r--win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml b/win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml
index 48323b259..6f1b54694 100644
--- a/win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml
+++ b/win/CS/HandBrakeWPF/Views/StaticPreviewView.xaml
@@ -9,6 +9,7 @@
mc:Ignorable="d" SizeToContent="WidthAndHeight"
TextOptions.TextFormattingMode="Display"
WindowStartupLocation="CenterScreen"
+ cal:Message.Attach="[Event Closing] = [Action Close]"
Title="{Binding Title}">
<Window.Resources>