From e6fe832b4fdc35acbad718b720f58e1254dcd32a Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Wed, 5 Feb 2020 22:00:47 -0500 Subject: don't refresh the data tab every time the index changes --- src/mainwindow.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') 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(); } -- cgit v1.3.1