impr: Allow files to be switched between memory loaded and direct access

This commit is contained in:
WerWolv
2024-06-09 20:59:06 +02:00
parent 531c049bb0
commit ecf871a6f1
4 changed files with 59 additions and 51 deletions

View File

@@ -287,7 +287,7 @@ namespace hex::plugin::builtin {
ImGui::PushItemWidth(-1);
ImGuiExt::InputTextIcon("##filter", ICON_VS_FILTER, m_currFilter);
ImGui::PopItemWidth();
if (ImGui::BeginChild("##bookmarks")) {
if (m_bookmarks->empty()) {
ImGuiExt::TextFormattedCentered("hex.builtin.view.bookmarks.no_bookmarks"_lang);