Skip to content

Commit

Permalink
Github Issue #12: Fixed the issue where markdown wasn't implemented w…
Browse files Browse the repository at this point in the history
…hen loading documents second time
  • Loading branch information
AngryFender committed Sep 14, 2023
1 parent d4470a5 commit 5561ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ void ViewsHandler::setCurrentDocument(const QFileInfo &fileInfo)
for(int rep = 0; rep < characterNo; ++rep){
cursor.movePosition(QTextCursor::NextCharacter,QTextCursor::MoveAnchor);
}
viewText->setTextCursor(cursor);
connectDocument();
viewText->setTextCursor(cursor);
}
}

Expand Down

0 comments on commit 5561ba7

Please sign in to comment.