cvpcb: Run save association action immediately

(this is a complement of commit 9ceca583)
This commit is contained in:
Ian McInerney 2019-09-18 10:33:37 +02:00 committed by jean-pierre charras
parent 9ceca583b1
commit 9e555cb422
1 changed files with 2 additions and 1 deletions

View File

@ -248,7 +248,8 @@ void CVPCB_MAINFRAME::setupEventHandlers()
m_saveAndContinue->Bind( wxEVT_COMMAND_BUTTON_CLICKED,
[this]( wxCommandEvent& )
{
this->GetToolManager()->RunAction( CVPCB_ACTIONS::saveAssociations );
// saveAssociations must be run immediatley
this->GetToolManager()->RunAction( CVPCB_ACTIONS::saveAssociations, true );
} );
// Connect the handlers for the ok/cancel buttons