mirror of
https://github.com/godotengine/godot
synced 2024-09-16 01:59:35 +00:00
Merge pull request #18922 from volzhs/fix-segfault
Fix segfault at quiting editor
This commit is contained in:
commit
66dc73f3ca
|
@ -684,7 +684,7 @@ void ColorPickerButton::_notification(int p_what) {
|
|||
draw_rect(r, color);
|
||||
}
|
||||
|
||||
if (p_what == MainLoop::NOTIFICATION_WM_QUIT_REQUEST) {
|
||||
if (p_what == MainLoop::NOTIFICATION_WM_QUIT_REQUEST && popup) {
|
||||
popup->hide();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue