mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
ugras baran: correct switching between different TOC types
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15837 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c6e22bc6bf
commit
7a3f9c65f7
@ -104,6 +104,7 @@ void QTocDialog::on_depthSL_valueChanged(int depth)
|
||||
void QTocDialog::on_typeCO_activated(int value)
|
||||
{
|
||||
form_->setTocModel(value);
|
||||
tocTV->setModel(form_->tocModel());
|
||||
enableButtons();
|
||||
}
|
||||
|
||||
@ -204,7 +205,7 @@ void QTocDialog::updateGui()
|
||||
// in the future, new columns may appear
|
||||
// like labels, bookmarks, etc...
|
||||
// tocTV->header()->hide();
|
||||
tocTV->header()->setVisible(true);
|
||||
tocTV->header()->setVisible(false);
|
||||
enableButtons();
|
||||
|
||||
connect(tocTV->selectionModel(),
|
||||
|
Loading…
Reference in New Issue
Block a user