Merge pull request #117089 from dalexeev/editor-help-bit-add-missing-copy-notification

Add missing code snippet copy notification to `EditorHelpBit`
This commit is contained in:
Thaddeus Crews 2026-03-06 12:40:23 -06:00
commit 308ebc9bfe
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

View file

@ -4343,6 +4343,7 @@ void EditorHelpBit::_meta_clicked(const String &p_select) {
OS::get_singleton()->shell_open(p_select);
} else if (p_select.begins_with("^")) { // Copy button.
DisplayServer::get_singleton()->clipboard_set(p_select.substr(1));
EditorToaster::get_singleton()->popup_str(TTR("Code snippet copied to clipboard."), EditorToaster::SEVERITY_INFO);
}
}