From f52a726031cc1e8c646c3d616a502b78d01099b0 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Tue, 20 Aug 2019 23:56:21 +0200 Subject: 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 --- qtmips_gui/srceditor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qtmips_gui/srceditor.h') 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: -- cgit v1.2.3