Add option to copy time
This commit is contained in:
parent
bc6bd4164f
commit
bd4336d801
|
@ -22,6 +22,7 @@ static inline void render_table_item(const LogcatEntry& logcat_entry, size_t log
|
|||
ImGui::PushFont(nullptr);
|
||||
|
||||
if (ImGui::Selectable("Copy")) ImGui::SetClipboardText(text.c_str());
|
||||
if (ImGui::Selectable("Copy Time")) ImGui::SetClipboardText(time_as_str);
|
||||
if (ImGui::Selectable("Copy User", false, logcat_entry.user ? 0 : ImGuiSelectableFlags_Disabled)) {
|
||||
ImGui::SetClipboardText(logcat_entry.user->c_str());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue