Fix-broken-icon-name patch

This commit is contained in:
Your Name 2025-05-17 03:51:43 +01:00
parent 1f1baf5940
commit 33bc64abee

View file

@ -2701,7 +2701,7 @@ class HidetorPage(Page):
boton.setGeometry(*geometry) boton.setGeometry(*geometry)
boton.setIconSize(boton.size()) boton.setIconSize(boton.size())
boton.setCheckable(True) boton.setCheckable(True)
if icon_name == 'Malaysia': if icon_name == 'my_14':
boton.setVisible(False) boton.setVisible(False)
boton.setIcon(QIcon(os.path.join(self.btn_path, f"button_{icon_name}.png"))) boton.setIcon(QIcon(os.path.join(self.btn_path, f"button_{icon_name}.png")))
if boton.icon().isNull(): if boton.icon().isNull():