revert comment signal

This commit is contained in:
xiaoyifang 2022-03-14 19:52:18 +08:00
parent 687cd26c3a
commit 6aa11cd6f8

View file

@ -585,7 +585,7 @@ void DictGroupsWidget::populate( Config::Groups const & groups,
{ {
DictGroupWidget *gr = new DictGroupWidget( this, *allDicts, groups[ x ] ); DictGroupWidget *gr = new DictGroupWidget( this, *allDicts, groups[ x ] );
addTab( gr, escapeAmps( groups[ x ].name ) ); addTab( gr, escapeAmps( groups[ x ].name ) );
// connect( gr, &DictGroupWidget::showDictionaryInfo,this, &DictGroupsWidget::showDictionaryInfo ); connect( gr, &DictGroupWidget::showDictionaryInfo,this, &DictGroupsWidget::showDictionaryInfo );
connect( gr->getModel(), SIGNAL( contentChanged() ), this, SLOT( tabDataChanged() ) ); connect( gr->getModel(), SIGNAL( contentChanged() ), this, SLOT( tabDataChanged() ) );
setCurrentIndex( x ); setCurrentIndex( x );