From 96cceeafeb7a52e0dd2005677deec0af2fa4db92 Mon Sep 17 00:00:00 2001 From: TakSuyu Date: Sat, 6 Jul 2013 19:11:24 -0700 Subject: implemented ModEditUI and mapped ModEditUI Buttons for implementation enabled EditMods button on MainWindowUI added validation check for renaming instances --- gui/modeditwindow.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'gui/modeditwindow.cpp') 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 + +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 -- cgit v1.2.3