summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-06-24 09:29:41 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-07-02 10:10:18 -0400
commit581cfacbbdee17f2b4df8195487e5934702a430e (patch)
treec98bfef6022fd5445449477904115747d2c206af /src/mainwindow.cpp
parentad4a90692b73bd73fa7a88690a95daa348839add (diff)
changed "tab index" to "tab id", this was confusing the order in the widget and the id from the enum
fixed reordering
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 67dc8418..d75e8d9d 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -3230,7 +3230,7 @@ void MainWindow::displayModInformation(ModInfo::Ptr modInfo, unsigned int index,
//Open the tab first if we want to use the standard indexes of the tabs.
if (tab != -1) {
- dialog.setTab(tab);
+ dialog.setTab(ModInfoDialog::ETabs(tab));
}
dialog.restoreState(m_OrganizerCore.settings());