Fixed the color picker double click event
This commit is contained in:
parent
f5f9703789
commit
6001ac0704
|
@ -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 );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue