mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
opt: erase the need to removeTabs
This commit is contained in:
parent
275f01c6a8
commit
bc1d76fbda
|
@ -217,8 +217,8 @@ void EditDictionaries::acceptChangedSources( bool rebuildGroups )
|
|||
// ui.tabs->removeTab( 1 );
|
||||
// ui.tabs->removeTab( 1 );
|
||||
|
||||
orderAndProps->rebuild( this, savedOrder, savedInactive, dictionaries );
|
||||
groups->rebuild( this, dictionaries, savedGroups, orderAndProps->getCurrentDictionaryOrder() );
|
||||
orderAndProps->rebuild( savedOrder, savedInactive, dictionaries );
|
||||
groups->rebuild( dictionaries, savedGroups, orderAndProps->getCurrentDictionaryOrder() );
|
||||
|
||||
// ui.tabs->insertTab( 1, orderAndProps, QIcon( ":/icons/book.svg" ), tr( "&Dictionaries" ) );
|
||||
// ui.tabs->insertTab( 2, groups, QIcon( ":/icons/bookcase.svg" ), tr( "&Groups" ) );
|
||||
|
|
Loading…
Reference in a new issue