Add a separate application focus/in notification out from Window focus notification.
This commit is contained in:
@ -338,7 +338,7 @@ void ShaderEditor::_menu_option(int p_option) {
|
||||
}
|
||||
|
||||
void ShaderEditor::_notification(int p_what) {
|
||||
if (p_what == NOTIFICATION_WM_FOCUS_IN) {
|
||||
if (p_what == NOTIFICATION_WM_WINDOW_FOCUS_IN) {
|
||||
_check_for_external_edit();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user