mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-13 05:52:50 +01:00
maybe fix crash with bookmarks table
This commit is contained in:
parent
e6ab6f3cc9
commit
bbff0036dc
@ -571,9 +571,9 @@ private:
|
|||||||
// saved frequencies table
|
// saved frequencies table
|
||||||
static ImGuiTableFlags table_flags = ImGuiTableFlags_Borders | ImGuiTableFlags_Resizable | ImGuiTableFlags_NoSavedSettings | ImGuiTableFlags_ScrollY | ImGuiTableFlags_RowBg;
|
static ImGuiTableFlags table_flags = ImGuiTableFlags_Borders | ImGuiTableFlags_Resizable | ImGuiTableFlags_NoSavedSettings | ImGuiTableFlags_ScrollY | ImGuiTableFlags_RowBg;
|
||||||
ImGui::BeginTable("bookmarks_table", 2, table_flags, ImVec2(0.0f, 300));
|
ImGui::BeginTable("bookmarks_table", 2, table_flags, ImVec2(0.0f, 300));
|
||||||
ImGui::TableSetupScrollFreeze(0, 1);
|
|
||||||
ImGui::TableSetupColumn("Description", ImGuiTableColumnFlags_WidthStretch, 67);
|
ImGui::TableSetupColumn("Description", ImGuiTableColumnFlags_WidthStretch, 67);
|
||||||
ImGui::TableSetupColumn("Frequency", ImGuiTableColumnFlags_WidthStretch, 33);
|
ImGui::TableSetupColumn("Frequency", ImGuiTableColumnFlags_WidthStretch, 33);
|
||||||
|
ImGui::TableSetupScrollFreeze(0, 1);
|
||||||
ImGui::TableHeadersRow();
|
ImGui::TableHeadersRow();
|
||||||
static bool tmpzzz;
|
static bool tmpzzz;
|
||||||
if (_this->displayed_bookmarks.size() > 0)
|
if (_this->displayed_bookmarks.size() > 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user