diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-08-20 23:56:21 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-08-20 23:56:21 +0200 |
commit | f52a726031cc1e8c646c3d616a502b78d01099b0 (patch) | |
tree | d04ab88b35d10498e83be5f1968ff7cd9ef9acb3 /qtmips_gui/srceditor.h | |
parent | 5f98bb5930eb24de0d087b6201d3f58f0df55178 (diff) | |
download | qtmips-f52a726031cc1e8c646c3d616a502b78d01099b0.tar.gz qtmips-f52a726031cc1e8c646c3d616a502b78d01099b0.tar.bz2 qtmips-f52a726031cc1e8c646c3d616a502b78d01099b0.zip |
Resolve emscripten problem with save as during close by queued connection.
It seems that directly connected one dialog result signal
to method which created another modal dialog results in new
dialog to be hidden when finished dialog closes under emscripten.
Queued connection resolves this problem for simple case
of source file close. It still does not resolve save
as invocation during complete application close.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/srceditor.h')
-rw-r--r-- | qtmips_gui/srceditor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qtmips_gui/srceditor.h b/qtmips_gui/srceditor.h index 328bfb1..f2426cb 100644 --- a/qtmips_gui/srceditor.h +++ b/qtmips_gui/srceditor.h @@ -56,6 +56,7 @@ public: void setCursorToLine(int ln); void setFileName(QString filename); bool isModified() const; + void setModified(bool val); void setSaveAsRequired(bool val); bool saveAsRequired(); private: |