Commit aba9082f authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Make diff editor readonly

parent 2e6972e1
Pipeline #231688 passed with stage
in 4 minutes and 22 seconds
......@@ -91,6 +91,8 @@ DiffEditor::DiffEditor(DiffParams::Flags f, QWidget *parent)
});
connect(document(), &QTextDocument::blockCountChanged, this, &DiffEditor::updateLineNumberAreaWidth);
connect(this, &QPlainTextEdit::updateRequest, this, &DiffEditor::updateLineNumberArea);
setReadOnly(true);
}
void DiffEditor::updateDiffColors(bool darkMode)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment