Attempt to fix link-formatting.
This commit is contained in:
parent
951ccf4bb0
commit
f1d0a67d41
1 changed files with 2 additions and 0 deletions
|
|
@ -3630,9 +3630,11 @@ void InputField::commitMarkdownLinkEdit(
|
||||||
_insertedTags.clear();
|
_insertedTags.clear();
|
||||||
|
|
||||||
_reverseMarkdownReplacement = false;
|
_reverseMarkdownReplacement = false;
|
||||||
|
_correcting = true;
|
||||||
cursor.setCharFormat(_defaultCharFormat);
|
cursor.setCharFormat(_defaultCharFormat);
|
||||||
cursor.setBlockFormat(_defaultBlockFormat);
|
cursor.setBlockFormat(_defaultBlockFormat);
|
||||||
_inner->setTextCursor(cursor);
|
_inner->setTextCursor(cursor);
|
||||||
|
_correcting = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void InputField::toggleSelectionMarkdown(const QString &tag) {
|
void InputField::toggleSelectionMarkdown(const QString &tag) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue