1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #106836 from Riteo/return-is-missing

Wayland: Add missing return in selection logic
This commit is contained in:
Thaddeus Crews
2025-05-27 09:39:31 -05:00

View File

@@ -4566,6 +4566,7 @@ void WaylandThread::selection_set_text(const String &p_text) {
if (ss->wl_data_device == nullptr) {
DEBUG_LOG_WAYLAND_THREAD("Couldn't set selection, seat doesn't have wl_data_device.");
return;
}
ss->selection_data = p_text.to_utf8_buffer();