From 3616665f1f5bb727cd7cab7bcd53fa23e61714a4 Mon Sep 17 00:00:00 2001 From: Abs62 Date: Wed, 28 Nov 2012 21:50:31 +0400 Subject: [PATCH] Again tabs in "Groups" dialog --- groups_widgets.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/groups_widgets.cc b/groups_widgets.cc index e98c3548..d1edddb0 100644 --- a/groups_widgets.cc +++ b/groups_widgets.cc @@ -501,6 +501,8 @@ void DictGroupsWidget::populate( Config::Groups const & groups, addTab( new DictGroupWidget( this, *allDicts, groups[ x ] ), escapeAmps( groups[ x ].name ) ); nextId = groups.nextId; + + setUsesScrollButtons( count() > 3 ); } /// Creates groups from what is currently set up