23/05/2021

This commit is contained in:
VFX - Visual Effects committed 2021-05-23 09:00:26 -03:00
1 parent 66c51b2ca5
commit 640b63fcf0
3 files changed
+32 -6

No files matched your search

+8 -1
View File
@@ -85,7 +85,6 @@ class MainWindow(QMainWindow):
self.ui.title_bar.set_title(self.settings["app_name"])
else:
self.ui.title_bar.set_title("Welcome to PyOneDark")
# SHOW MAIN WINDOW
@@ -100,12 +99,20 @@ class MainWindow(QMainWindow):
# GET BT CLICKED
btn = SetupMainWindow.setup_btns(self)
# LEFT MENU
# SELECT / DESELECT BTN HOME
if btn.objectName() == "btn_home":
if btn.is_active():
btn.set_active(False)
else:
btn.set_active(True)
# TITLE BAR MENU
if btn.objectName() == "btn_top_settings":
if btn.is_active():
btn.set_active(False)
else:
btn.set_active(True)
# DEBUG
print(f"Button {btn.objectName()}, clicked!")