Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libksieve
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PIM
libksieve
Commits
5602e0af
Commit
5602e0af
authored
May 02, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We need to update originalscript each time that send script is a success
parent
09e1c12f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
src/ksieveui/editor/sieveeditorwidget.cpp
src/ksieveui/editor/sieveeditorwidget.cpp
+5
-0
src/ksieveui/editor/sieveeditorwidget.h
src/ksieveui/editor/sieveeditorwidget.h
+3
-0
No files found.
src/ksieveui/editor/sieveeditorwidget.cpp
View file @
5602e0af
...
...
@@ -239,6 +239,11 @@ bool SieveEditorWidget::isWordWrap() const
return
false
;
}
void
SieveEditorWidget
::
updateOriginalScript
()
{
mOriginalScript
=
script
();
}
void
SieveEditorWidget
::
wordWrap
(
bool
state
)
{
if
(
mMode
==
TextMode
)
{
...
...
src/ksieveui/editor/sieveeditorwidget.h
View file @
5602e0af
...
...
@@ -80,6 +80,9 @@ public:
void
debugSieveScript
();
void
zoomReset
();
bool
isWordWrap
()
const
;
void
updateOriginalScript
();
public
Q_SLOTS
:
void
find
();
void
replace
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment