Commit 36e6e7ed authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko Committed by Adrien Plazas
Browse files

keypad: Beep when typing invalid chars

parent 4244b080
Pipeline #244583 passed with stages
in 13 minutes and 12 seconds
......@@ -123,6 +123,8 @@ insert_text_cb (HdyKeypad *self,
if (priv->symbols_visible && strchr ("#*+", *q))
continue;
gtk_widget_error_bell (GTK_WIDGET (editable));
g_signal_stop_emission_by_name (editable, "insert-text");
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment