mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
* GuiSpellchecker:
- prevent invalid pointer access (spellchecker crash reported by Abdel). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27771 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
aa0c7c58b4
commit
b3a336fbdf
@ -98,7 +98,8 @@ void GuiSpellchecker::suggestionChanged(QListWidgetItem * item)
|
||||
|
||||
void GuiSpellchecker::replaceChanged(const QString & str)
|
||||
{
|
||||
if (suggestionsLW->currentItem()->text() == str)
|
||||
if (suggestionsLW->currentItem()
|
||||
&& suggestionsLW->currentItem()->text() == str)
|
||||
return;
|
||||
|
||||
for (int i = 0; i != suggestionsLW->count(); ++i) {
|
||||
|
@ -105,6 +105,9 @@ What's new
|
||||
- Fix crash on display of message string with utf8 encoding
|
||||
(bug 5389 related).
|
||||
|
||||
- Fix crash when trying to access the replacements combo box in the spell
|
||||
checker dialog.
|
||||
|
||||
- Fix the registration of mimetypes, which cures a crash when using
|
||||
the clipboard and launching other applications on Windows (bug 5472).
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user