fixed #556
This commit is contained in:
1 parent
a837bb1e24
commit
b5eea7c0a1
4 files changed
+9
-8
No files matched your search
@@ -321,6 +321,8 @@ namespace HandyControl.Controls
|
||||
|
||||
private void Update()
|
||||
{
|
||||
if (DesignerHelper.IsInDesignMode) return;
|
||||
|
||||
if (Type == InfoType.Ask)
|
||||
{
|
||||
_panelMore.IsEnabled = true;
|
||||
|
||||
@@ -259,7 +259,7 @@ namespace HandyControl.Controls
|
||||
|
||||
private void OnIsOpenChanged(bool isOpen)
|
||||
{
|
||||
if (Content == null) return;
|
||||
if (Content == null || DesignerHelper.IsInDesignMode) return;
|
||||
|
||||
_window = WindowHelper.GetActiveWindow();
|
||||
if (_window == null) return;
|
||||
|
||||
Reference in new issue
Block a user