Skip to content

Commit

Permalink
call on_options_changed when exchanging the 2 active colors #357
Browse files Browse the repository at this point in the history
  • Loading branch information
maoschanz committed May 7, 2023
1 parent d88bc1c commit 8332b22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -970,6 +970,7 @@ def _update_use_color_editor(self, *args):

def exchange_colors(self, *args):
self.options_manager.get_classic_tools_pane().middle_click_action()
self.active_tool().on_options_changed()

def action_color1(self, *args):
if self.active_tool().use_color:
Expand Down

0 comments on commit 8332b22

Please sign in to comment.