summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraristocratos <gnmjpl@gmail.com>2021-09-22 17:31:17 +0200
committeraristocratos <gnmjpl@gmail.com>2021-09-22 17:31:17 +0200
commit2f27d9fa177c515f2613bd9ceb558f09554cfbd2 (patch)
treef30f3ca08cf392149e749eb176b068d33379fcbd
parenteedab3062ed7ccb3c45fd0eb9d46dbd534c5cddf (diff)
v1.0.5 Bug fixesv1.0.5
-rw-r--r--CHANGELOG.md8
-rw-r--r--src/btop.cpp2
-rw-r--r--src/btop_menu.cpp6
3 files changed, 13 insertions, 3 deletions
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;
+ }
}
}