BugFix Stream Source reload

Change stream reopen() to StreamSource reload()
This commit is contained in:
Bruno Herbelin
2023-11-13 23:03:31 +01:00
parent 378257b7bf
commit a57419150e
6 changed files with 22 additions and 18 deletions

View File

@@ -1878,7 +1878,7 @@ void ImGuiVisitor::visit(TextSource &s)
ImGui::SetCursorPos(
ImVec2(top.x + 0.95 * ImGui::GetFrameHeight(), botom.y - ImGui::GetFrameHeight()));
if (ImGuiToolkit::IconButton(ICON_FA_REDO_ALT, "Reload"))
tc->reopen();
s.reload();
}
// general case of free text : text editor
else {