Skip to content

Commit 98d0ae3

Browse files
authored
Merge pull request #5552 from OpenShot/protect-statusbar
Protect windows.statusBar on launch of OpenShot
2 parents 8418a37 + 86acbdf commit 98d0ae3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/classes/info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import os
2929
from time import strftime
3030

31-
VERSION = "3.2.0"
31+
VERSION = "3.2.0-dev"
3232
MINIMUM_LIBOPENSHOT_VERSION = "0.3.3"
3333
DATE = "20240619000000"
3434
NAME = "openshot-qt"

src/themes/base.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ def apply_theme(self):
163163
self.app.setStyleSheet(self.style_sheet)
164164

165165
# Hide main window status bar
166-
self.app.window.statusBar.hide()
166+
if hasattr(self.app, "window") and hasattr(self.app.window, "statusBar"):
167+
self.app.window.statusBar.hide()
167168

168169
from classes import info
169170
from classes.logger import log

0 commit comments

Comments
 (0)