Skip to content

Commit

Permalink
Merge pull request #5552 from OpenShot/protect-statusbar
Browse files Browse the repository at this point in the history
Protect windows.statusBar on launch of OpenShot
  • Loading branch information
jonoomph authored Jun 27, 2024
2 parents 8418a37 + 86acbdf commit 98d0ae3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/classes/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import os
from time import strftime

VERSION = "3.2.0"
VERSION = "3.2.0-dev"
MINIMUM_LIBOPENSHOT_VERSION = "0.3.3"
DATE = "20240619000000"
NAME = "openshot-qt"
Expand Down
3 changes: 2 additions & 1 deletion src/themes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ def apply_theme(self):
self.app.setStyleSheet(self.style_sheet)

# Hide main window status bar
self.app.window.statusBar.hide()
if hasattr(self.app, "window") and hasattr(self.app.window, "statusBar"):
self.app.window.statusBar.hide()

from classes import info
from classes.logger import log
Expand Down

0 comments on commit 98d0ae3

Please sign in to comment.