Skip to content

Commit

Permalink
fix bug that prevented the preview to load
Browse files Browse the repository at this point in the history
  • Loading branch information
somas95 committed May 14, 2018
1 parent 8a37a2f commit 1a56b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uberwriter/UberwriterWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ def toggle_preview(self, widget, data=None):
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')
Expand Down

0 comments on commit 1a56b35

Please sign in to comment.