diff options
| author | Tannin <devnull@localhost> | 2014-02-04 19:55:27 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-02-04 19:55:27 +0100 |
| commit | 76fbe6effef7c2e787c1801741d4eb0a156128ce (patch) | |
| tree | ef671b8073e1208a00b5b50f0afa493375daaede /src/mainwindow.cpp | |
| parent | 38ee6ccf0a822bf20d548bbb89dbe3059ee336bb (diff) | |
- tabs in the mod info dialog can now be moved around by the user
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 90eb6bce..b6a744aa 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -3160,7 +3160,10 @@ void MainWindow::displayModInformation(ModInfo::Ptr modInfo, unsigned int index, connect(&dialog, SIGNAL(endorseMod(ModInfo::Ptr)), this, SLOT(endorseMod(ModInfo::Ptr))); dialog.openTab(tab); + dialog.restoreTabState(m_Settings.directInterface().value("mod_info_tabs").toByteArray()); dialog.exec(); + m_Settings.directInterface().setValue("mod_info_tabs", dialog.saveTabState()); + modInfo->saveMeta(); emit modInfoDisplayed(); m_ModList.modInfoChanged(modInfo); |
