mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-17 11:22:28 +12:00
Fixed project not opening with missing background
This is the quick way to patch this. I'd recommend changing the findFirstFile function in functions/__init__.py for a more permanent solution, but this should suffice for now.
This commit is contained in:
parent
4eadf5310c
commit
a266b1bfff
|
@ -27,6 +27,8 @@ class corkView(QListView, dndView, outlineBasics):
|
|||
def updateBackground(self):
|
||||
if settings.corkBackground["image"] != "":
|
||||
img = findBackground(settings.corkBackground["image"])
|
||||
if img == None:
|
||||
img = ""
|
||||
else:
|
||||
# No background image
|
||||
img = ""
|
||||
|
|
Loading…
Reference in a new issue