Revert the exception handling for Show()

This commit is contained in:
ema
2025-06-04 16:59:20 +08:00
parent efe28423e9
commit 3153f7b279

View File

@@ -208,16 +208,7 @@ public partial class ViewerWindow
if (!IsVisible)
{
Dispatcher.BeginInvoke(new Action(() => this.BringToFront(Topmost)), DispatcherPriority.Render);
try
{
Show();
}
catch (Exception ex)
{
Debug.WriteLine(ex);
ProcessHelper.WriteLog(ex.ToString());
}
Show();
}
//ShowWindowCaptionContainer(null, null);