* QDocumentDialog.C: added connection to QBranches::changed signal.
* QBranches.h: added changed signal
* QBranches::update() added changed signal emission.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13430
a592a061-630c-0410-9148-
cb99ea01b6c8
// restore selected branch
if (bname == sel_branch)
branchesLV->setSelected(newItem, true);
- }
+ }\r
+ emit changed();
}
void QBranches::apply(BufferParams & params) const
void update(BufferParams const & params);
void apply(BufferParams & params) const;
+\r
+signals:\r
+ void changed();\r
protected:
void toggleBranch(Q3ListViewItem * selItem);
branchesModule = new QBranches;
+ connect(branchesModule, SIGNAL(changed()), this, SLOT(change_adaptor()));\r
preambleModule = new UiWidget<Ui::PreambleUi>;