| 99 | } |
| 100 | |
| 101 | void GotoLinePopup::_notification(int p_what) { |
| 102 | switch (p_what) { |
| 103 | case NOTIFICATION_VISIBILITY_CHANGED: { |
| 104 | if (!is_visible()) { |
| 105 | text_editor->set_preview_navigation_change(false); |
| 106 | } |
| 107 | } break; |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | void GotoLinePopup::_input_from_window(const Ref<InputEvent> &p_event) { |
| 112 | if (p_event->is_action_pressed(SNAME("ui_cancel"), false, true)) { |
nothing calls this directly
no test coverage detected