Skip to content

Commit

Permalink
Fix error saving to a different position type format
Browse files Browse the repository at this point in the history
This is expected fallout from porting from Gtk.UIManager etc. to
Gio.Action etc., which changed radio and toggle action handling.

Closes #28
  • Loading branch information
otsaloma committed Aug 9, 2016
1 parent befca12 commit 75ff5e6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 7 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Gaupol 0.92/1.0
===============

* [x] Fix error saving document from a time-based format to a
frame-based or vice versa ([#28][])

[#28]: https://github.com/otsaloma/gaupol/issues/28
3 changes: 1 addition & 2 deletions gaupol/agents/save.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,7 @@ def _select_file(self, title, page, file=None):
# Set framerate to the selected one.
self.set_current_page(page)
action = self.get_action("set-framerate")
action.set_state(str(framerate))
action.activate()
action.activate(str(framerate))
gaupol.util.iterate_main()
return aeidon.files.new(format, path, encoding, newline)

Expand Down

0 comments on commit 75ff5e6

Please sign in to comment.