Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
KDE:Frameworks5:LTS
ktexteditor
Fix-missing-spell-check-bar.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Fix-missing-spell-check-bar.patch of Package ktexteditor
From 9a77f365de57b26aa04c8db6d587bdba93db8433 Mon Sep 17 00:00:00 2001 From: Christoph Roick <chrisito@gmx.de> Date: Thu, 5 Oct 2017 01:58:28 +0200 Subject: Fix missing spell check bar Summary: - the spell check bar removes itself from the bottom view bar, now is added again when required BUG: 359682 Test Plan: - write a text with spelling errors - run the spell check, ignore errors - run the spell check again, with the bar widget correctly showing up now Reviewers: #ktexteditor, dhaumann Reviewed By: #ktexteditor, dhaumann Subscribers: dhaumann, #frameworks Tags: #kate, #frameworks Differential Revision: https://phabricator.kde.org/D8148 --- src/spellcheck/spellcheckdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spellcheck/spellcheckdialog.cpp b/src/spellcheck/spellcheckdialog.cpp index 2339152..9b8da4a 100644 --- a/src/spellcheck/spellcheckdialog.cpp +++ b/src/spellcheck/spellcheckdialog.cpp @@ -120,8 +120,6 @@ void KateSpellCheckDialog::spellcheck(const KTextEditor::Cursor &from, const KTe m_sonnetDialog->showSpellCheckCompletionMessage(); m_sonnetDialog->setSpellCheckContinuedAfterReplacement(false); - m_view->bottomViewBar()->addBarWidget(m_sonnetDialog); - connect(m_sonnetDialog, SIGNAL(done(QString)), this, SLOT(installNextSpellCheckRange())); connect(m_sonnetDialog, SIGNAL(replace(QString,int,QString)), @@ -140,6 +138,8 @@ void KateSpellCheckDialog::spellcheck(const KTextEditor::Cursor &from, const KTe this, SLOT(languageChanged(QString))); } + m_view->bottomViewBar()->addBarWidget(m_sonnetDialog); + m_userSpellCheckLanguage.clear(); m_previousGivenSpellCheckLanguage.clear(); delete m_globalSpellCheckRange; -- cgit v0.11.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor