mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 06:19:36 +00:00
TOC dialog: fix scrollbar flickering when clicking on items
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16571 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
24e837d390
commit
37652b6d7a
@ -231,6 +231,8 @@ void QTocDialog::updateGui()
|
||||
tocTV->setModel(form_->tocModel());
|
||||
tocTV->setEditTriggers(QAbstractItemView::NoEditTriggers);
|
||||
}
|
||||
// avoid flickering
|
||||
tocTV-> setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
|
||||
tocTV->showColumn(0);
|
||||
// hide the pointless QHeader for now
|
||||
// in the future, new columns may appear
|
||||
|
Loading…
Reference in New Issue
Block a user