Branch: refs/heads/master
  Home:   https://github.com/synfig/synfig
  Commit: 313878d4d12a32f24b533d0832a6660b63ee149a
      
https://github.com/synfig/synfig/commit/313878d4d12a32f24b533d0832a6660b63ee149a
  Author: alexhaskell <wailingocto...@gmail.com>
  Date:   2023-02-26 (Sun, 26 Feb 2023)

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

  Log Message:
  -----------
  refactor: use RadioToolButton instead of ToggleToolButton for tools dock 
(#3012)

Multiple calls (4+) to Dock_Toolbox::change_state_() occur because 
ToggleToolButton::set_active(), inside Dock_Toolbox::set_active_state(), would 
cause clicked signals.

This commit reduces the number of calls to just 2. Once for the previous tool 
button and a second for the new tool button. This is the normal behavior of 
RadioToolButtons.




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

Reply via email to