Add missing code snippet copy notification to EditorHelpBit
This commit is contained in:
parent
fe6f78a4c7
commit
a847c1beeb
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue