~martijnbraam/thumbdrives

f64b198af1a5c09f76eb78f3573385721e7ed39d — Martijn Braam 1 year, 10 months ago 518ee05 0.3.1
Fixed crash in image creation
2 files changed, 4 insertions(+), 2 deletions(-)

M meson.build
M src/window.py
M meson.build => meson.build +1 -1
@@ 1,5 1,5 @@
project('thumbdrives',  
          version: '0.3.0',
          version: '0.3.1',
    meson_version: '>= 0.50.0',
  default_options: [ 'warning_level=2',
                   ],

M src/window.py => src/window.py +3 -1
@@ 177,9 177,11 @@ class ThumbdrivesWindow(Gtk.ApplicationWindow):

        with open(filename, 'ab') as handle:
            handle.truncate(size * 1024 * 1024)
        self.add_img(filename)

        self.add_img(Path(filename))
        self.thumbdrive_list.show_all()
        self.update_visibility()

        self.main_stack.set_transition_type(Gtk.StackTransitionType.SLIDE_RIGHT)
        self.main_stack.set_visible_child_name('home')
        self.header_stack.set_visible_child_name('home')