mirror of
https://github.com/CapsAdmin/pac3.git
synced 2025-03-04 03:03:01 -05:00
Check if pace.Editor panel is valid
This commit is contained in:
parent
653f33c579
commit
65291ffde0
@ -119,7 +119,9 @@ function pace.OnPartSelected(part, is_selecting)
|
||||
|
||||
pace.SetViewPart(part)
|
||||
|
||||
pace.Editor:InvalidateLayout()
|
||||
if pace.Editor:IsValid() then
|
||||
pace.Editor:InvalidateLayout()
|
||||
end
|
||||
|
||||
pace.SafeRemoveSpecialPanel()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user