summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-22 11:33:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-22 11:33:42 +0100
commit63eef1c1cf203aa75093b479a1e8dd24593546e7 (patch)
tree4a7fff5320ee1db5657dc0cc1f15090b46abdb3b /cui
parentacfe7d39e5359483124b79fc7e98fb9afa65c0a6 (diff)
Resolves: fdo#39348 toggling grammar checkbox deletes sentence
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/SpellDialog.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index c3591b92255b..cfdc2f5284e5 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -769,7 +769,8 @@ void SpellDialog::Impl_Restore()
//get a new sentence
aSentenceED.SetText(rtl::OUString());
aSentenceED.ResetModified();
- SpellContinue_Impl();
+ //Resolves: fdo#39348 refill the dialog with the currently spelled sentence
+ SpellContinue_Impl(true);
aIgnorePB.SetText(aIgnoreOnceST);
}