mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
fix QRef dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9610 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b7665042ff
commit
fb4d88b7b0
@ -1,3 +1,9 @@
|
||||
2005-02-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* QRefDialog.C (refSelected): insert selected ref to
|
||||
text widget (this was not possible if there was only
|
||||
one entry, an empty inset was generated).
|
||||
|
||||
2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
|
||||
|
||||
* QDialogView.h (form): add cast for MSVC.
|
||||
|
@ -70,8 +70,12 @@ void QRefDialog::refHighlighted(const QString & sel)
|
||||
}
|
||||
|
||||
|
||||
void QRefDialog::refSelected(const QString &)
|
||||
void QRefDialog::refSelected(const QString & sel)
|
||||
{
|
||||
if (form_->readOnly())
|
||||
return;
|
||||
|
||||
referenceED->setText(sel);
|
||||
// <enter> or double click, inserts ref and closes dialog
|
||||
form_->slotOK();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user