summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-22 11:33:42 +0100
committerPetr Mladek <pmladek@suse.cz>2011-08-22 14:29:33 +0200
commit87bfbda761a9ac7101310b591964c385e936f702 (patch)
tree25931dfd8c265b6211cd8586d423d0d4807021c3
parentcf27f1ca55f9165983bc4cc6328f00d54eca1f54 (diff)
Resolves: fdo#39348 toggling grammar checkbox deletes sentence
Signed-off-by: Petr Mladek <pmladek@suse.cz>
-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 e8b2dcbd5..86a3529e4 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);
}