forked from Green-Sky/tomato
better context
This commit is contained in:
parent
c7ba6d19ad
commit
b48d7e3cfd
@ -1206,6 +1206,9 @@ void ChatGui4::renderMessageBodyFile(Message3Registry& reg, const Message3 e) {
|
|||||||
std::cout << "opening file '" << url << "'\n";
|
std::cout << "opening file '" << url << "'\n";
|
||||||
SDL_OpenURL(url.c_str());
|
SDL_OpenURL(url.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ImGui::Separator();
|
||||||
|
|
||||||
if (ImGui::MenuItem("copy file")) {
|
if (ImGui::MenuItem("copy file")) {
|
||||||
const std::string url {file_path_to_file_url(local_info.file_path)};
|
const std::string url {file_path_to_file_url(local_info.file_path)};
|
||||||
//ImGui::SetClipboardText(url.c_str());
|
//ImGui::SetClipboardText(url.c_str());
|
||||||
|
Loading…
Reference in New Issue
Block a user