Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Calligra
Manage
Activity
Members
Labels
Plan
Issues
5
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Office
Calligra
Commits
99d7c63e
Commit
99d7c63e
authored
9 years ago
by
Jarosław Staniek
Browse files
Options
Downloads
Patches
Plain Diff
Avoid crash in Kexi text editor when text component couldn't be loaded
CCBUG:346373
parent
3989048b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
kexi/widget/kexieditor.cpp
+2
-0
2 additions, 0 deletions
kexi/widget/kexieditor.cpp
with
2 additions
and
0 deletions
kexi/widget/kexieditor.cpp
+
2
−
0
View file @
99d7c63e
...
...
@@ -189,6 +189,8 @@ void KexiEditor::setHighlightMode(const QString& highlightmodename)
{
#ifdef KTEXTEDIT_BASED_SQL_EDITOR
#else
if
(
!
d
->
doc
)
return
;
QString
n
=
highlightmodename
;
if
(
n
==
"javascript"
||
n
==
"qtscript"
)
n
=
"JavaScript"
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment