Skip to content

Commit

Permalink
fix wrong acpi warning issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed Mar 1, 2024
1 parent db5e3e9 commit a17d822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/MainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def update(self,data):
self.o("ui_button_performance").set_sensitive(False)

if "info" in data:
acpi = (str(data["info"]["acpi-supported"]).lower() == "true")
acpi = not (str(data["info"]["acpi-supported"]).lower() == "true")
oem = (str(data["info"]["oem"]).lower() == "true")
self.o("ui_button_warning").set_visible(oem or acpi)
self.o("ui_box_warning_acpi").set_visible(acpi)
Expand Down

0 comments on commit a17d822

Please sign in to comment.