Fix-broken-icon-name patch
This commit is contained in:
parent
1f1baf5940
commit
33bc64abee
1 changed files with 1 additions and 1 deletions
|
@ -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():
|
||||||
|
|
Loading…
Reference in a new issue