* QErrorList.{cpp,h}:

- Fix error navigation with the keyboard (bug 4895).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24997 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-05-29 12:22:25 +00:00
parent 3f71d8bd34
commit c8441a617f
3 changed files with 8 additions and 5 deletions

View File

@ -36,14 +36,14 @@ QErrorListDialog::QErrorListDialog(QErrorList * form)
setupUi(this);
connect(closePB, SIGNAL(clicked()),
form, SLOT(slotClose()));
connect( errorsLW, SIGNAL( itemClicked(QListWidgetItem *)),
this, SLOT(select_adaptor(QListWidgetItem *)));
connect(errorsLW, SIGNAL(itemSelectionChanged()),
this, SLOT(select_adaptor()));
}
void QErrorListDialog::select_adaptor(QListWidgetItem * item)
void QErrorListDialog::select_adaptor()
{
form_->select(item);
form_->select(errorsLW->currentItem());
}

View File

@ -32,7 +32,7 @@ public:
QErrorListDialog(QErrorList * form);
public Q_SLOTS:
void select_adaptor(QListWidgetItem *);
void select_adaptor();
protected:
void closeEvent(QCloseEvent *);
void showEvent(QShowEvent *);

View File

@ -76,6 +76,9 @@ What's new
- Fix 7 years-old bug with functions whose state can be toggled.
- Fix error navigation with the keyboard (bug 4895).
* DOCUMENTATION AND LOCALIZATION
- The dynamically generated file formats in the menus are now translatable