Skip to content

Commit

Permalink
Do not modify style on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tastysugar committed Mar 21, 2023
1 parent 60836a2 commit a3961f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

from PyQt6.QtWidgets import QApplication
from OKPLogic import OKPMainWIndow
import platform


if __name__ == '__main__':
app = QApplication(sys.argv)
app.setStyle('Windows')
if platform.system() != "Windows":
app.setStyle('Windows')

window = OKPMainWIndow()
window.show()
Expand Down

0 comments on commit a3961f1

Please sign in to comment.