From 7928ea27965fd5649cf9206754d74f93c192e3d0 Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Thu, 21 Feb 2019 19:53:37 -0500 Subject: [PATCH] Fix corkView background image on Windows Windows path to the image has '\' path separator instead of '/' which makes the stylesheet fail. Background images don't appear and console gets spammed with : Could not parse stylesheet of object corkView(0x27248eb6900, name = "corkView") --- manuskript/ui/views/corkView.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manuskript/ui/views/corkView.py b/manuskript/ui/views/corkView.py index c27c3cb7..e77e49db 100644 --- a/manuskript/ui/views/corkView.py +++ b/manuskript/ui/views/corkView.py @@ -36,7 +36,7 @@ class corkView(QListView, dndView, outlineBasics): background-attachment: fixed; }}""".format( color=settings.corkBackground["color"], - url=img + url=img.replace("\\", "/") )) def dragMoveEvent(self, event):