Add action info to Undo/Redo menus.

Note that this only works where a BOARD_COMMIT or SCHEMATIC_COMMIT is used.
(BOARD_COMMIT is used almost universally in PCBNew, but SCHEMATIC_COMMIT
has very little adoption in EEschema so far.)
This commit is contained in:
Jeff Young
2023-06-07 14:37:34 +01:00
parent 30cbfc794f
commit d5b5a3eaf4
7 changed files with 61 additions and 3 deletions
+2
View File
@@ -245,6 +245,8 @@ void BOARD_COMMIT::Push( const wxString& aMessage, int aCommitFlags )
if( Empty() )
return;
undoList.SetDescription( aMessage );
std::shared_ptr<CONNECTIVITY_DATA> connectivity = board->GetConnectivity();
// Note: