Skip to content

Commit

Permalink
Fixed xenial build
Browse files Browse the repository at this point in the history
  • Loading branch information
hmatuschek committed Jan 10, 2020
1 parent 635cbe3 commit b94a1b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mainwindow.cc
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ MainWindow::onCheck() {
if (!_app.currentTutor())
return;
QString result;
_app.currentTutor()->verify(_input->document()->toRawText(), result);
_app.currentTutor()->verify(_input->document()->toPlainText(), result);
_input->document()->setHtml(result);
_check->setEnabled(false);
}
Expand Down

0 comments on commit b94a1b7

Please sign in to comment.