diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/LegacyModEditDialog.cpp | 1 | ||||
-rw-r--r-- | gui/newinstancedialog.cpp | 2 | ||||
-rw-r--r-- | gui/versionselectdialog.cpp | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/gui/LegacyModEditDialog.cpp b/gui/LegacyModEditDialog.cpp index ea5aa941..e16f979c 100644 --- a/gui/LegacyModEditDialog.cpp +++ b/gui/LegacyModEditDialog.cpp @@ -38,6 +38,7 @@ LegacyModEditDialog::LegacyModEditDialog( LegacyInstance* inst, QWidget* parent m_texturepacks = m_inst->texturePackList(); ui->jarModsTreeView->setModel(m_jarmods.data()); + //ui->jarModsTreeView->setDragDropMode(QAbstractItemView::DragDrop); ui->coreModsTreeView->setModel(m_coremods.data()); ui->mlModTreeView->setModel(m_mods.data()); ui->texPackTreeView->setModel(m_texturepacks.data()); diff --git a/gui/newinstancedialog.cpp b/gui/newinstancedialog.cpp index 3a4adbc1..f0a70a1b 100644 --- a/gui/newinstancedialog.cpp +++ b/gui/newinstancedialog.cpp @@ -108,7 +108,7 @@ void NewInstanceDialog::on_btnChangeVersion_clicked() void NewInstanceDialog::on_iconButton_clicked() { - IconPickerDialog dlg; + IconPickerDialog dlg(this); dlg.exec(InstIconKey); if(dlg.result() == QDialog::Accepted) diff --git a/gui/versionselectdialog.cpp b/gui/versionselectdialog.cpp index afe112f4..66d772b0 100644 --- a/gui/versionselectdialog.cpp +++ b/gui/versionselectdialog.cpp @@ -31,6 +31,7 @@ VersionSelectDialog::VersionSelectDialog(InstVersionList *vlist, QWidget *parent ui(new Ui::VersionSelectDialog) { ui->setupUi(this); + setWindowModality(Qt::WindowModal); m_vlist = vlist; |