summaryrefslogtreecommitdiffstats
path: root/gui/modeditwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/modeditwindow.cpp')
-rw-r--r--gui/modeditwindow.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/gui/modeditwindow.cpp b/gui/modeditwindow.cpp
index e457252a..322197ef 100644
--- a/gui/modeditwindow.cpp
+++ b/gui/modeditwindow.cpp
@@ -15,8 +15,11 @@
#include "modeditwindow.h"
#include "ui_modeditwindow.h"
+#include "instance.h"
-ModEditWindow::ModEditWindow(QWidget *parent) :
+#include <QDebug>
+
+ModEditWindow::ModEditWindow(QWidget *parent, Instance* m_inst) :
QDialog(parent),
ui(new Ui::ModEditWindow)
{
@@ -27,3 +30,8 @@ ModEditWindow::~ModEditWindow()
{
delete ui;
}
+
+void ModEditWindow::on_buttonBox_rejected()
+{
+ close();
+} \ No newline at end of file