mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
* GuiErrorList.cpp:
- fix display of error description for preamble errors (bug 5007). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25728 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
38af9ccac5
commit
855c185881
@ -60,8 +60,11 @@ void GuiErrorList::showEvent(QShowEvent * e)
|
|||||||
void GuiErrorList::select()
|
void GuiErrorList::select()
|
||||||
{
|
{
|
||||||
int const item = errorsLW->row(errorsLW->currentItem());
|
int const item = errorsLW->row(errorsLW->currentItem());
|
||||||
if (goTo(item))
|
if (item == -1)
|
||||||
descriptionTB->setPlainText(toqstr(errorList()[item].description));
|
return;
|
||||||
|
goTo(item);
|
||||||
|
descriptionTB->setPlainText(
|
||||||
|
toqstr(errorList()[item].description));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user