mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
ui: Change the provider selector from a dropdown to a tab bar
This commit is contained in:
@@ -229,7 +229,7 @@ namespace hex {
|
||||
if (Task::getRunningTaskCount() > 0)
|
||||
return;
|
||||
|
||||
if (index < s_providers.size()) {
|
||||
if (index < s_providers.size() && s_currentProvider != index) {
|
||||
auto oldProvider = get();
|
||||
s_currentProvider = index;
|
||||
EventManager::post<EventProviderChanged>(oldProvider, get());
|
||||
|
||||
Reference in New Issue
Block a user