From 55bdef9bd2966595d6e2af45ecea270e741736ce Mon Sep 17 00:00:00 2001 From: Greg Davill Date: Thu, 24 Feb 2022 18:31:16 +0000 Subject: [PATCH] action_plugin: Remove duplicated entry in UndoList (cherry picked from commit 429c311ec3e5e9282dc0da0eb02b82dabd746f03) --- pcbnew/python/scripting/pcbnew_action_plugins.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcbnew/python/scripting/pcbnew_action_plugins.cpp b/pcbnew/python/scripting/pcbnew_action_plugins.cpp index 087fd266e0..3d0948a62a 100644 --- a/pcbnew/python/scripting/pcbnew_action_plugins.cpp +++ b/pcbnew/python/scripting/pcbnew_action_plugins.cpp @@ -367,7 +367,8 @@ void PCB_EDIT_FRAME::RunActionPlugin( ACTION_PLUGIN* aActionPlugin ) delete oldBuffer; } - commit.Push( _( "Apply action script" ) ); + // Apply changes, UndoList already handled + commit.Push( _( "Apply action script" ), false ); ActivateGalCanvas(); }