diff options
author | TakSuyu <taksuyu@gmail.com> | 2013-07-06 19:11:24 -0700 |
---|---|---|
committer | TakSuyu <taksuyu@gmail.com> | 2013-07-06 19:11:24 -0700 |
commit | 96cceeafeb7a52e0dd2005677deec0af2fa4db92 (patch) | |
tree | 93708ea1d149d504e92c1ec33add85ecc41b0498 /gui/modeditwindow.cpp | |
parent | eb16d977c86844c9562e9bbe2e3dc6f58dddcc04 (diff) | |
download | MultiMC-96cceeafeb7a52e0dd2005677deec0af2fa4db92.tar MultiMC-96cceeafeb7a52e0dd2005677deec0af2fa4db92.tar.gz MultiMC-96cceeafeb7a52e0dd2005677deec0af2fa4db92.tar.lz MultiMC-96cceeafeb7a52e0dd2005677deec0af2fa4db92.tar.xz MultiMC-96cceeafeb7a52e0dd2005677deec0af2fa4db92.zip |
implemented ModEditUI and mapped ModEditUI Buttons for implementation
enabled EditMods button on MainWindowUI
added validation check for renaming instances
Diffstat (limited to 'gui/modeditwindow.cpp')
-rw-r--r-- | gui/modeditwindow.cpp | 10 |
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 |