inactive panel highlight fixed
This commit is contained in:
parent
b7b27d8ced
commit
eae9c014b0
@ -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();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user