diff options
author | sr55 <[email protected]> | 2014-05-24 17:25:48 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2014-05-24 17:25:48 +0000 |
commit | 9ab2cefc88f522c02817a248e2b8d964d186c04f (patch) | |
tree | 643d7aca00d99162a5eef4a05f4b29601de45b87 /win/CS/HandBrakeWPF/ViewModels/Interfaces/IStaticPreviewViewModel.cs | |
parent | 281c44b0914b21ff6dea0b401a0312d09197a4c3 (diff) |
WinGui: Don't grab previews when the preview window hasn't been opened. (Note, there is still a crash that sometimes happens for some resolutions that needs fixed, but the UI shouldn't crash anymore if the window hasn't been opened)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6205 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/Interfaces/IStaticPreviewViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/Interfaces/IStaticPreviewViewModel.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/Interfaces/IStaticPreviewViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/Interfaces/IStaticPreviewViewModel.cs index a1d6b465c..6d42d4d55 100644 --- a/win/CS/HandBrakeWPF/ViewModels/Interfaces/IStaticPreviewViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/Interfaces/IStaticPreviewViewModel.cs @@ -23,5 +23,10 @@ namespace HandBrakeWPF.ViewModels.Interfaces /// The task.
/// </param>
void UpdatePreviewFrame(EncodeTask task);
+
+ /// <summary>
+ /// Gets or sets a value indicating whether is open.
+ /// </summary>
+ bool IsOpen { get; set; }
}
}
|