From be5f7d2b6b1dd6f713981f5afcb3af04fdeba5fb Mon Sep 17 00:00:00 2001 From: Le Tan Date: Fri, 20 Oct 2017 19:45:57 +0800 Subject: [PATCH] bug-fix: fix auto heading sequence regular expression --- src/vlineedit.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vlineedit.cpp b/src/vlineedit.cpp index 7824196c..ea716ce0 100644 --- a/src/vlineedit.cpp +++ b/src/vlineedit.cpp @@ -36,6 +36,8 @@ void VLineEdit::handleTextChanged(const QString &p_text) void VLineEdit::init() { + m_evaluatedText = g_mwMgr->evaluate(text()); + connect(this, &QLineEdit::textChanged, this, &VLineEdit::handleTextChanged); }