mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-21 17:28:00 +02:00
parentWidget null check
This commit is contained in:
parent
6be091c781
commit
589095277e
1 changed files with 2 additions and 0 deletions
|
@ -1615,6 +1615,8 @@ namespace IDE.ui
|
|||
mOrigY = y;
|
||||
|
||||
Widget parentWidget = GetParentWidget();
|
||||
if (parentWidget?.mWidgetWindow == null)
|
||||
return false;
|
||||
|
||||
//var parentWidget = textPanel.EditWidget.Content;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue