mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29751 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
83b1b2c578
commit
8059f0a895
@ -525,6 +525,19 @@ PrefCompletion::PrefCompletion(GuiPreferences * form)
|
||||
}
|
||||
|
||||
|
||||
void PrefCompletion::on_inlineTextCB_clicked()
|
||||
{
|
||||
on_popupTextCB_clicked();
|
||||
}
|
||||
|
||||
|
||||
void PrefCompletion::on_popupTextCB_clicked()
|
||||
{
|
||||
cursorTextCB->setEnabled(
|
||||
popupTextCB->isChecked() || inlineTextCB->isChecked());
|
||||
}
|
||||
|
||||
|
||||
void PrefCompletion::apply(LyXRC & rc) const
|
||||
{
|
||||
rc.completion_inline_delay = inlineDelaySB->value();
|
||||
@ -551,6 +564,7 @@ void PrefCompletion::update(LyXRC const & rc)
|
||||
popupTextCB->setChecked(rc.completion_popup_text);
|
||||
cursorTextCB->setChecked(rc.completion_cursor_text);
|
||||
popupAfterCompleteCB->setChecked(rc.completion_popup_after_complete);
|
||||
on_popupTextCB_clicked();
|
||||
}
|
||||
|
||||
|
||||
|
@ -210,6 +210,9 @@ public:
|
||||
|
||||
virtual void apply(LyXRC & rc) const;
|
||||
virtual void update(LyXRC const & rc);
|
||||
private Q_SLOTS:
|
||||
void on_popupTextCB_clicked();
|
||||
void on_inlineTextCB_clicked();
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user