inactive panel highlight fixed

This commit is contained in:
Radek Davidek 2026-01-22 15:34:22 +01:00
parent b7b27d8ced
commit eae9c014b0

View File

@ -2561,8 +2561,11 @@ public class MainWindow extends JFrame {
} }
int interval = config.getAutoRefreshInterval(); int interval = config.getAutoRefreshInterval();
autoRefreshTimer = new Timer(interval, e -> { autoRefreshTimer = new Timer(interval, e -> {
if (activePanel != null && activePanel.getCurrentDirectory() != null) { if (leftPanel != null && leftPanel.getCurrentDirectory() != null) {
activePanel.refresh(false); leftPanel.refresh(false);
}
if (rightPanel != null && rightPanel.getCurrentDirectory() != null) {
rightPanel.refresh(false);
} }
}); });
autoRefreshTimer.start(); autoRefreshTimer.start();