Fixed a bug: the edit dialog fields were not cleared if an
[emufront] / src / dialogs / dataobjecteditdialog.h
index 09f840d..cc2f517 100644 (file)
@@ -40,11 +40,14 @@ protected:
     EmuFrontObject *efObject;
     QDialogButtonBox *buttonBox;
     void setSelected(QComboBox*, const EmuFrontObject*, int idIndex);
+    virtual void closeEvent(QCloseEvent *);
+    virtual void clear() = 0;
 
 signals:
     void updateRejected();
     void dataObjectUpdated();
     void test();
+    void dialogClosed();
 
 protected slots:
     virtual void acceptChanges() =0;