summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index d48fae4f..7ab555fa 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -3223,11 +3223,9 @@ void MainWindow::displayModInformation(ModInfo::Ptr modInfo, unsigned int index,
} else {
modInfo->saveMeta();
- ModInfoDialog dialog(this, &m_OrganizerCore, &m_PluginContainer);
+ ModInfoDialog dialog(this, &m_OrganizerCore, &m_PluginContainer, modInfo);
connect(&dialog, SIGNAL(originModified(int)), this, SLOT(originModified(int)));
- dialog.setMod(modInfo);
-
//Open the tab first if we want to use the standard indexes of the tabs.
if (tab != -1) {
dialog.setTab(ModInfoDialog::ETabs(tab));