diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-02-05 22:00:47 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-02-05 22:00:47 -0500 |
| commit | e6fe832b4fdc35acbad718b720f58e1254dcd32a (patch) | |
| tree | 0155d5a832afa8e1fd86979bb98742e651894c0a /src/mainwindow.cpp | |
| parent | 593ed64f860dcd5a5d9329233bafc9530f60cc6b (diff) | |
don't refresh the data tab every time the index changes
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 7 |
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(); } |
