Add a clear button
This commit is contained in:
parent
2a1233d95b
commit
1382d4b2ab
|
@ -167,6 +167,10 @@ void main_window(bool latest_log_entries_read, ImFont* monospace_font, LogcatThr
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::SeparatorEx(ImGuiSeparatorFlags_Vertical);
|
ImGui::SeparatorEx(ImGuiSeparatorFlags_Vertical);
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
if (ImGui::Button("Clear")) {
|
||||||
|
logcat_entries.clear();
|
||||||
|
}
|
||||||
|
ImGui::SameLine();
|
||||||
if (ImGui::Button("Export")) {
|
if (ImGui::Button("Export")) {
|
||||||
ImGui::OpenPopup("export_logcat");
|
ImGui::OpenPopup("export_logcat");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue