Branch: refs/heads/master
  Home:   https://github.com/synfig/synfig
  Commit: 6fb0596575c2755b594e38b76ce9b819e3b8b8e3
      
https://github.com/synfig/synfig/commit/6fb0596575c2755b594e38b76ce9b819e3b8b8e3
  Author: rodolforg <rodolf...@users.noreply.github.com>
  Date:   2022-07-22 (Fri, 22 Jul 2022)

  Changed paths:
    M synfig-studio/src/gui/app.cpp
    M synfig-studio/src/gui/app.h

  Log Message:
  -----------
  fix: synfig studio was not saving synfigapp settings on quit (#2751)

Steps to reproduce the problem:

1. Select Bline Tool
2. Change a parameter in Tool Options Panel (e.g. Opacity or Line Width)
3. Restart Synfig Studio
4. Select Bline Tool and see the change was not saved.

Reason:
Since #2497, we finally use Gtk::Application as base class for `App`.
`App` is destructed before `MainWindow` is closed (basically at start).
So, stuff done on quitting before merging #2497 was not done on the right time 
now.

As `signal-shutdown` is only called in primary instance of Gtk::Application,
it's the proper moment to delete and finish stuff on application exit.




_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to