[Summary] Gives to WavesDialog the ability to response on Enter from numeric keyboard (little second enter). Igor's request.

[Reviewed] YPozdniakov
This commit is contained in:
Nikolay 2014-12-18 16:39:46 +02:00
parent 3e2609af4e
commit 6c6e46c879

View file

@ -120,6 +120,7 @@ WavesDialog::on_key_press_event (GdkEventKey* ev)
switch (ev->keyval) switch (ev->keyval)
{ {
case GDK_Return: case GDK_Return:
case GDK_KP_Enter:
hide (); hide ();
response (WavesDialog::RESPONSE_DEFAULT); response (WavesDialog::RESPONSE_DEFAULT);
return true; return true;