X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Fgtk%2Fprefswindow.c;h=292daedf2f6b2d9b7074f8ffe3e2a06b08350a4e;hp=46d956261e5529479a79b83b1a7e6c1ea0626f41;hb=93909397d7d869c53985364cf4376445ccdd2cfc;hpb=9b00d24183a7ad06b4ddfafa65f59d8683a9d2b3 diff --git a/src/gtk/prefswindow.c b/src/gtk/prefswindow.c index 46d956261..292daedf2 100644 --- a/src/gtk/prefswindow.c +++ b/src/gtk/prefswindow.c @@ -690,6 +690,8 @@ static gboolean prefswindow_row_selected(GtkTreeSelection *selector, GtkTreeIter iter; GtkAdjustment *adj; + if (gtk_tree_path_get_depth(path) < 2) + return FALSE; #ifndef GENERIC_UMPC if (currently_selected) return TRUE;