summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-02-05 22:00:47 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2020-02-05 22:00:47 -0500
commite6fe832b4fdc35acbad718b720f58e1254dcd32a (patch)
tree0155d5a832afa8e1fd86979bb98742e651894c0a /src
parent593ed64f860dcd5a5d9329233bafc9530f60cc6b (diff)
don't refresh the data tab every time the index changes
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 130b5fe7..b5729c15 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -2169,7 +2169,12 @@ void MainWindow::on_tabWidget_currentChanged(int index)
} else if (index == 1) {
m_OrganizerCore.refreshBSAList();
} else if (index == 2) {
- m_DataTab->activated();
+ static bool first = true;
+
+ if (first) {
+ m_DataTab->activated();
+ first = false;
+ }
} else if (index == 3) {
refreshSaveList();
}