Fixed a bug: the edit dialog fields were not cleared if an
[emufront] / src / dialogs / dataobjecteditdialog.h
index 225d1b6..cc2f517 100644 (file)
@@ -40,10 +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;