Commit 949702e1 authored by Matti Hyttinen's avatar Matti Hyttinen
Browse files

FIx preview image issue

parent 82693e99
...@@ -583,6 +583,7 @@ class LayoutBox(Gtk.Box): ...@@ -583,6 +583,7 @@ class LayoutBox(Gtk.Box):
# here we continue commands ... good idea ?? # here we continue commands ... good idea ??
ret = False ret = False
error = err error = err
saving = self.layout
if not ret: if not ret:
self.dialog_error(f"Error for set layout \"{self.layout}\"", error) self.dialog_error(f"Error for set layout \"{self.layout}\"", error)
else: else:
...@@ -591,3 +592,4 @@ class LayoutBox(Gtk.Box): ...@@ -591,3 +592,4 @@ class LayoutBox(Gtk.Box):
self.layout = user.write({'layout':self.layout}) self.layout = user.write({'layout':self.layout})
print("Layout applied") print("Layout applied")
self.layout = saving
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment