Skip to content

Commit

Permalink
Update freakybrowse.py
Browse files Browse the repository at this point in the history
this will prob work idk
  • Loading branch information
Squirrel authored Oct 21, 2024
1 parent 273fdcf commit 225c462
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Code/freakybrowse.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,14 @@ class MainWindow(QMainWindow):
color: white;
}
"""

ef keyPressEvent(self, e):
if e.key() == QtCore.Qt.Key_Escape:
self.close()
if e.key() == QtCore.Qt.Key_F11:
if self.isMaximized():
self.showNormal()
else:
self.showMaximized()
def __init__(self, *args, **kwargs):
super(MainWindow, self).__init__(*args, **kwargs)

Expand Down

0 comments on commit 225c462

Please sign in to comment.