Add copy content to clipboard button to error status popup
This commit is contained in:
@@ -196,6 +196,10 @@ void MasterEditor::DrawStatusPopup() {
|
|||||||
if (ImGui::Button("OK", gui::kDefaultModalSize)) {
|
if (ImGui::Button("OK", gui::kDefaultModalSize)) {
|
||||||
show_status_ = false;
|
show_status_ = false;
|
||||||
}
|
}
|
||||||
|
ImGui::SameLine();
|
||||||
|
if (ImGui::Button(ICON_MD_CONTENT_COPY, ImVec2(50, 0))) {
|
||||||
|
ImGui::SetClipboardText(prev_status_.ToString().c_str());
|
||||||
|
}
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user