mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 17:24:08 +00:00
opt: hide website [as link] column (#1893)
* opt: hide the [As link] column
This commit is contained in:
parent
3909b59d9f
commit
b7406e0f6f
|
@ -55,6 +55,8 @@ Sources::Sources( QWidget * parent, Config::Class const & cfg ):
|
||||||
|
|
||||||
ui.webSites->setTabKeyNavigation( true );
|
ui.webSites->setTabKeyNavigation( true );
|
||||||
ui.webSites->setModel( &webSitesModel );
|
ui.webSites->setModel( &webSitesModel );
|
||||||
|
//[As link] column.
|
||||||
|
ui.webSites->setColumnHidden( 1, true );
|
||||||
ui.webSites->resizeColumnToContents( 0 );
|
ui.webSites->resizeColumnToContents( 0 );
|
||||||
ui.webSites->resizeColumnToContents( 1 );
|
ui.webSites->resizeColumnToContents( 1 );
|
||||||
ui.webSites->resizeColumnToContents( 2 );
|
ui.webSites->resizeColumnToContents( 2 );
|
||||||
|
|
Loading…
Reference in a new issue