1
0
mirror of synced 2024-11-28 09:30:51 +01:00

impr: Only show provider selector bar when more than one is open

This commit is contained in:
WerWolv 2023-12-07 11:21:13 +01:00
parent f68202a098
commit 5f8c813aa7

View File

@ -258,6 +258,9 @@ namespace hex::plugin::builtin {
if (providerSelectorVisible) {
for (size_t i = 0; i < providers.size(); i++) {
if (providers.size() == 1)
break;
auto &tabProvider = providers[i];
const auto selectedProviderIndex = ImHexApi::Provider::getCurrentProviderIndex();