When I created the Branches dialog class, I forgot to connect it to the
Document settings panel dialog.
This goes in now.
Abdel.
Index: D:/msys/home/yns/lyx/trunk/src/frontends/qt4/QBranches.C
===================================================================
--- D:/msys/home/yns/lyx/trunk/src/frontends/qt4/QBranches.C (revision 13429)
+++ D:/msys/home/yns/lyx/trunk/src/frontends/qt4/QBranches.C (working copy)
@@ -80,7 +80,8 @@
// restore selected branch
if (bname == sel_branch)
branchesLV->setSelected(newItem, true);
- }
+ }
+ emit changed();
}
void QBranches::apply(BufferParams & params) const
Index: D:/msys/home/yns/lyx/trunk/src/frontends/qt4/QBranches.h
===================================================================
--- D:/msys/home/yns/lyx/trunk/src/frontends/qt4/QBranches.h (revision 13409)
+++ D:/msys/home/yns/lyx/trunk/src/frontends/qt4/QBranches.h (working copy)
@@ -39,6 +39,9 @@
void update(BufferParams const & params);
void apply(BufferParams & params) const;
+
+signals:
+ void changed();
protected:
void toggleBranch(Q3ListViewItem * selItem);
Index: D:/msys/home/yns/lyx/trunk/src/frontends/qt4/QDocumentDialog.C
===================================================================
--- D:/msys/home/yns/lyx/trunk/src/frontends/qt4/QDocumentDialog.C
(revision 13409)
+++ D:/msys/home/yns/lyx/trunk/src/frontends/qt4/QDocumentDialog.C
(working copy)
@@ -354,6 +354,7 @@
branchesModule = new QBranches;
+ connect(branchesModule, SIGNAL(changed()), this,
SLOT(change_adaptor()));
preambleModule = new UiWidget<Ui::PreambleUi>;