diff --git a/CHANGELOG.md b/CHANGELOG.md index 98e9fec..9585360 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## v1.0.5 + +* Fixed: Load AVG sizing when hiding temperatures + +* Fixed: Sizing constraints bug on start and boxes can be toggled from size error screen + +* Fixed: UTF-8 check crashing if LANG was set to non existant locale + ## v1.0.4 * Fixed: Use /proc/pid/statm if RSS memory from /proc/pid/stat is faulty diff --git a/src/btop.cpp b/src/btop.cpp index b551cc0..b968993 100644 --- a/src/btop.cpp +++ b/src/btop.cpp @@ -55,7 +55,7 @@ namespace Global { {"#801414", "██████╔╝ ██║ ╚██████╔╝██║ ╚═╝ ╚═╝"}, {"#000000", "╚═════╝ ╚═╝ ╚═════╝ ╚═╝"}, }; - const string Version = "1.0.4"; + const string Version = "1.0.5"; int coreCount; string overlay; diff --git a/src/btop_menu.cpp b/src/btop_menu.cpp index c81d31b..b166c1e 100644 --- a/src/btop_menu.cpp +++ b/src/btop_menu.cpp @@ -1341,8 +1341,10 @@ namespace Menu { menuMask.reset(); menuMask.set(SizeError); } - for (const auto& i : iota(0, (int)menuMask.size())) { - if (menuMask.test(i)) currentMenu = i; + else { + for (const auto& i : iota(0, (int)menuMask.size())) { + if (menuMask.test(i)) currentMenu = i; + } } }