focus after command
This commit is contained in:
parent
c2a5226c0c
commit
b3b64f36fa
@ -1256,6 +1256,7 @@ public class MainWindow extends JFrame {
|
|||||||
|
|
||||||
private void executeCommand(String command) {
|
private void executeCommand(String command) {
|
||||||
if (command == null || command.trim().isEmpty()) {
|
if (command == null || command.trim().isEmpty()) {
|
||||||
|
activePanel.getFileTable().requestFocusInWindow();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1310,6 +1311,7 @@ public class MainWindow extends JFrame {
|
|||||||
pb.directory(currentDir);
|
pb.directory(currentDir);
|
||||||
pb.start();
|
pb.start();
|
||||||
commandLine.setText(""); // Clear after execution
|
commandLine.setText(""); // Clear after execution
|
||||||
|
activePanel.getFileTable().requestFocusInWindow();
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user