mirror of https://github.com/vitalif/openscad
#879 scintilla editor incorrectly reported a freshly opened file as modified
parent
844edc9b78
commit
99bc04c9ab
|
@ -30,8 +30,9 @@ ScintillaEditor::ScintillaEditor(QWidget *parent) : EditorInterface(parent)
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScintillaEditor::setPlainText(const QString &text)
|
void ScintillaEditor::setPlainText(const QString &text)
|
||||||
{
|
{
|
||||||
qsci->setText(text);
|
qsci->setText(text);
|
||||||
|
setContentModified(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
QString ScintillaEditor::toPlainText()
|
QString ScintillaEditor::toPlainText()
|
||||||
|
|
Loading…
Reference in New Issue