mirror of
https://github.com/mborgerson/xemu.git
synced 2026-02-04 13:05:27 +00:00
ui: Fix MainMenuSnapshotsView member visibility
This commit is contained in:
committed by
mborgerson
parent
7e6ca1097b
commit
5ac1dd1e98
@ -747,7 +747,7 @@ void MainMenuSnapshotsView::ClearSearch()
|
||||
}
|
||||
}
|
||||
|
||||
static int MainMenuSnapshotsViewUpdateSearchBox(ImGuiInputTextCallbackData *data)
|
||||
int MainMenuSnapshotsView::OnSearchTextUpdate(ImGuiInputTextCallbackData *data)
|
||||
{
|
||||
GError *gerr = NULL;
|
||||
MainMenuSnapshotsView *win = (MainMenuSnapshotsView*)data->UserData;
|
||||
@ -804,7 +804,7 @@ void MainMenuSnapshotsView::Draw()
|
||||
ImGui::PushFont(g_font_mgr.m_menu_font_small);
|
||||
ImGui::InputTextWithHint("##search", "Search or name new snapshot...",
|
||||
&m_search_buf, ImGuiInputTextFlags_CallbackEdit,
|
||||
&MainMenuSnapshotsViewUpdateSearchBox, this);
|
||||
&OnSearchTextUpdate, this);
|
||||
|
||||
bool snapshot_with_create_name_exists = false;
|
||||
for (int i = 0; i < g_snapshot_mgr.m_snapshots_len; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user