Commit 5602e0af authored by Laurent Montel's avatar Laurent Montel 😁

We need to update originalscript each time that send script is a success

parent 09e1c12f
......@@ -239,6 +239,11 @@ bool SieveEditorWidget::isWordWrap() const
return false;
}
void SieveEditorWidget::updateOriginalScript()
{
mOriginalScript = script();
}
void SieveEditorWidget::wordWrap(bool state)
{
if (mMode == TextMode) {
......
......@@ -80,6 +80,9 @@ public:
void debugSieveScript();
void zoomReset();
bool isWordWrap() const;
void updateOriginalScript();
public Q_SLOTS:
void find();
void replace();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment