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