mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
When I created the Branches dialog class, I forgot to connect it to the Document settings panel dialog.
* 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
This commit is contained in:
parent
967d3e3cd6
commit
812b5ebfa9
@ -80,7 +80,8 @@ void QBranches::update()
|
||||
// restore selected branch
|
||||
if (bname == sel_branch)
|
||||
branchesLV->setSelected(newItem, true);
|
||||
}
|
||||
}
|
||||
emit changed();
|
||||
}
|
||||
|
||||
void QBranches::apply(BufferParams & params) const
|
||||
|
@ -39,6 +39,9 @@ public:
|
||||
|
||||
void update(BufferParams const & params);
|
||||
void apply(BufferParams & params) const;
|
||||
|
||||
signals:
|
||||
void changed();
|
||||
|
||||
protected:
|
||||
void toggleBranch(Q3ListViewItem * selItem);
|
||||
|
@ -354,6 +354,7 @@ QDocumentDialog::QDocumentDialog(QDocument * form)
|
||||
|
||||
|
||||
branchesModule = new QBranches;
|
||||
connect(branchesModule, SIGNAL(changed()), this, SLOT(change_adaptor()));
|
||||
|
||||
|
||||
preambleModule = new UiWidget<Ui::PreambleUi>;
|
||||
|
Loading…
Reference in New Issue
Block a user