fix bug that prevented the preview to load

gh-pages v2.0.2
somas95 2018-05-14 22:01:44 +02:00
parent 8a37a2f7cd
commit 1a56b355b1
1 changed files with 1 additions and 1 deletions

View File

@ -709,7 +709,7 @@ class UberwriterWindow(Window):
os.environ['PANDOC_PREFIX'] = base_path + '/'
# Set the styles according the color theme
if Settings.get_value("dark-mode"):
if self.settings.get_value("dark-mode"):
stylesheet = helpers.get_media_path('uberwriter_dark.css')
else:
stylesheet = helpers.get_media_path('uberwriter.css')