Cli: Fixes #13086: Fix "use" command when not in TUI mode (#13091)

This commit is contained in:
Henry Heino
2025-09-08 10:56:08 +01:00
committed by GitHub
parent b72c48c693
commit 3a9f57e13f
+3 -1
View File
@@ -417,8 +417,10 @@ class Application extends BaseApplication {
if (argv.length) {
this.gui_ = this.dummyGui();
const initialFolder = await Folder.load(Setting.value('activeFolderId'));
await this.switchCurrentFolder(initialFolder);
await this.applySettingsSideEffects();
await this.refreshCurrentFolder();
try {
await this.execCommand(argv);
} catch (error) {