diff options
Diffstat (limited to 'qtmips_gui/srceditor.cpp')
-rw-r--r-- | qtmips_gui/srceditor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qtmips_gui/srceditor.cpp b/qtmips_gui/srceditor.cpp index 298b9f2..2d4a5ec 100644 --- a/qtmips_gui/srceditor.cpp +++ b/qtmips_gui/srceditor.cpp @@ -132,6 +132,10 @@ bool SrcEditor::isModified() const { return document()->isModified(); } +void SrcEditor::setModified(bool val) { + document()->setModified(val); +} + void SrcEditor::setSaveAsRequired(bool val) { saveAsRequiredFl = val; } |