aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/idoplaybackmenuitem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idoplaybackmenuitem.c b/src/idoplaybackmenuitem.c
index 1e47968..662ceaf 100644
--- a/src/idoplaybackmenuitem.c
+++ b/src/idoplaybackmenuitem.c
@@ -149,7 +149,7 @@ ido_playback_menu_item_parent_key_press_event (GtkWidget *widget,
self->cur_pushed_button = BUTTON_NONE;
}
- if (self->cur_pushed_button)
+ if (self->cur_pushed_button != BUTTON_NONE)
{
self->keyboard_activated = TRUE;
gtk_widget_queue_draw (widget);