mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Default toolbar items not showing up in settings window
This commit is contained in:
@@ -621,6 +621,9 @@ namespace hex::plugin::builtin {
|
||||
if (data.is_null())
|
||||
return;
|
||||
|
||||
if (data.is_array() && data.empty())
|
||||
return;
|
||||
|
||||
for (auto &[priority, menuItem] : ContentRegistry::Interface::impl::getMenuItemsMutable())
|
||||
menuItem.toolbarIndex = -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user