mirror of
https://github.com/ModOrganizer2/modorganizer.git
synced 2026-07-27 13:58:24 -07:00
Avoid refreshing Data tab each time directoryStructure is refreshed if the tab is not active.
This commit is contained in:
+7
-1
@@ -2563,8 +2563,14 @@ void MainWindow::directory_refreshed()
|
||||
{
|
||||
// some problem-reports may rely on the virtual directory tree so they need to be updated
|
||||
// now
|
||||
refreshDataTreeKeepExpandedNodes();
|
||||
updateProblemsButton();
|
||||
|
||||
|
||||
//Some better check for the current tab is needed.
|
||||
if (ui->tabWidget->currentIndex() == 2) {
|
||||
refreshDataTreeKeepExpandedNodes();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void MainWindow::esplist_changed()
|
||||
|
||||
Reference in New Issue
Block a user