diff options
author | rtk0c <[email protected]> | 2021-05-09 01:37:35 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2021-05-09 01:37:35 -0700 |
commit | 54bac64fdb909a239bf00b1450de1d1a55e58a37 (patch) | |
tree | 61fce65c76738cf90594921f0958f7d4a23ee4d6 /core/src | |
parent | e637e165ebc5bf14e7a9b12d6b518203eb02759e (diff) |
Remove ##prefix on tab bar and table ids
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/UI/UI_DatabaseView.cpp | 2 | ||||
-rw-r--r-- | core/src/UI/UI_Items.cpp | 2 | ||||
-rw-r--r-- | core/src/UI/UI_MainWindow.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/core/src/UI/UI_DatabaseView.cpp b/core/src/UI/UI_DatabaseView.cpp index bc65080..fb7fdfe 100644 --- a/core/src/UI/UI_DatabaseView.cpp +++ b/core/src/UI/UI_DatabaseView.cpp @@ -662,7 +662,7 @@ void UI::DatabaseViewTab() purchases.OnProjectChanged(currentProject); } - if (ImGui::BeginTabBar("##DatabaseViewTabs")) { + if (ImGui::BeginTabBar("DatabaseViewTabs")) { if (ImGui::BeginTabItem(ls->SalesViewTab.Get())) { sales.Display(); ImGui::EndTabItem(); diff --git a/core/src/UI/UI_Items.cpp b/core/src/UI/UI_Items.cpp index 8633c1f..7ed8f80 100644 --- a/core/src/UI/UI_Items.cpp +++ b/core/src/UI/UI_Items.cpp @@ -243,7 +243,7 @@ void UI::ItemsTab() auto ls = LocaleStrings::Instance.get(); auto& uis = UIState::GetInstance(); - if (ImGui::BeginTabBar("##ItemViewTabs")) { + if (ImGui::BeginTabBar("ItemViewTabs")) { if (ImGui::BeginTabItem(ls->ProductCategoryName.Get())) { ItemListEditor(uis.CurrentProject->Products); ImGui::EndTabItem(); diff --git a/core/src/UI/UI_MainWindow.cpp b/core/src/UI/UI_MainWindow.cpp index 62a195e..b1bee7d 100644 --- a/core/src/UI/UI_MainWindow.cpp +++ b/core/src/UI/UI_MainWindow.cpp @@ -197,7 +197,7 @@ void UI::MainWindow() ImGui::SetNextWindowSize({ windowSize.x, windowSize.y }); ImGui::SetNextWindowPos({ 0, 0 }); ImGui::Begin("##MainWindow", nullptr, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize); - if (ImGui::BeginTabBar("##MainWindowTabs")) { + if (ImGui::BeginTabBar("MainWindowTabs")) { if (ImGui::BeginTabItem(ls->SettingsTab.Get())) { UI::SettingsTab(); ImGui::EndTabItem(); |