|
|
@ -269,8 +269,8 @@ namespace Avalonia.Controls |
|
|
|
|
|
|
|
|
using (BeginAutoSizing()) |
|
|
using (BeginAutoSizing()) |
|
|
{ |
|
|
{ |
|
|
var affectedWindows = s_windows.Where(w => w.IsEnabled && w != this); |
|
|
var affectedWindows = s_windows.Where(w => w.IsEnabled && w != this).ToList(); |
|
|
Window activated = affectedWindows.Where(w => w.IsActive).FirstOrDefault(); |
|
|
var activated = affectedWindows.Where(w => w.IsActive).FirstOrDefault(); |
|
|
SetIsEnabled(affectedWindows, false); |
|
|
SetIsEnabled(affectedWindows, false); |
|
|
|
|
|
|
|
|
var modal = PlatformImpl.ShowDialog(); |
|
|
var modal = PlatformImpl.ShowDialog(); |
|
|
|