Fixed the color picker double click event

This commit is contained in:
Pradeepa Senanayake 2021-07-16 08:40:50 +10:00 committed by Wayne Stambaugh
parent f5f9703789
commit 6001ac0704
1 changed files with 1 additions and 2 deletions

View File

@ -535,8 +535,7 @@ void DIALOG_COLOR_PICKER::drawAll()
void DIALOG_COLOR_PICKER::colorDClick( wxMouseEvent& event ) void DIALOG_COLOR_PICKER::colorDClick( wxMouseEvent& event )
{ {
buttColorClick( event ); wxPostEvent( this, wxCommandEvent( wxEVT_COMMAND_BUTTON_CLICKED, wxID_OK ) );
wxDialog::EndModal( wxID_OK );
} }