|
|
@ -373,6 +373,11 @@ namespace Avalonia.Controls |
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public override void Show() |
|
|
public override void Show() |
|
|
{ |
|
|
{ |
|
|
|
|
|
if (PlatformImpl == null) |
|
|
|
|
|
{ |
|
|
|
|
|
throw new InvalidOperationException("Cannot re-show a closed window."); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
if (IsVisible) |
|
|
if (IsVisible) |
|
|
{ |
|
|
{ |
|
|
return; |
|
|
return; |
|
|
|