aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--result/stringresult.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/result/stringresult.cpp b/result/stringresult.cpp
index d5a7880..b5c490c 100644
--- a/result/stringresult.cpp
+++ b/result/stringresult.cpp
@@ -64,6 +64,7 @@ bool StringResult::hasHighLight() const
Result* StringResult::getCopy() const
{
auto copy= new StringResult();
+ copy->setPrevious(getPrevious());
copy->setHighLight(m_highlight);
copy->setText(m_value);
return copy;