summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2014-01-24 12:15:54 +0100
committerLászló Németh <nemeth@numbertext.org>2014-01-24 12:20:03 +0100
commit52d4203a312e9aecac9bffdc2afe93471b88a9dc (patch)
treec2bb75e5fdeb6986778feb77a878d529889ff7f8 /cui
parent800857bcbb57bca59818660e2c8cfad12ad2243a (diff)
fdo#56954, fdo#73868 grammar checking UI fixes
Change-Id: I20577ba3bfbd12a89d34892a8f32d9c2b741f4dd
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/SpellDialog.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index e11ed6b0906d..323c0b7b33ff 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -621,6 +621,9 @@ IMPL_LINK( SpellDialog, IgnoreAllHdl, Button *, pButton )
{
pSpellErrorDescription->xGrammarChecker->ignoreRule( pSpellErrorDescription->sRuleId,
pSpellErrorDescription->aLocale );
+ // refresh the layout (workaround to launch a dictionary event)
+ aXDictionary->setActive(sal_False);
+ aXDictionary->setActive(sal_True);
}
}
catch( const uno::Exception& )