From 2c70120d624e468cc7e2d6889f94adb123d68cff Mon Sep 17 00:00:00 2001 From: punkrockguy318 Date: Tue, 7 Aug 2012 14:05:09 +0000 Subject: [PATCH] gtk: allow configuration of first element in hotkey dialog --- src/drivers/sdl/gui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drivers/sdl/gui.cpp b/src/drivers/sdl/gui.cpp index d7124cd3..e8afe881 100644 --- a/src/drivers/sdl/gui.cpp +++ b/src/drivers/sdl/gui.cpp @@ -532,6 +532,7 @@ void openHotkeyConfig() gtk_tree_selection_set_mode(select, GTK_SELECTION_SINGLE); g_signal_connect ( G_OBJECT (select), "changed", G_CALLBACK (tree_selection_changed_cb), NULL); + gtk_tree_selection_unselect_all (select); } static void tree_selection_changed_cb (GtkTreeSelection *selection, gpointer data)