diff options
author | Haoyu Qiu <timothyqiu32@gmail.com> | 2024-03-23 20:41:44 +0800 |
---|---|---|
committer | Haoyu Qiu <timothyqiu32@gmail.com> | 2024-03-23 20:41:44 +0800 |
commit | 7984043768c4f089a681b3f5bed859208a01b601 (patch) | |
tree | 1d71170a5598464bb92e257ebe84b0ac56f4ed3f /editor/filesystem_dock.cpp | |
parent | fe01776f05b1787b28b4a270d53037a3c25f4ca2 (diff) | |
download | redot-engine-7984043768c4f089a681b3f5bed859208a01b601.tar.gz |
Add necessary flags when opening directory with xfce4-terminal
Diffstat (limited to 'editor/filesystem_dock.cpp')
-rw-r--r-- | editor/filesystem_dock.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index 0f83e109fa..8b8027e430 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -2213,6 +2213,8 @@ void FileSystemDock::_file_option(int p_option, const Vector<String> &p_selected terminal_emulator_args.push_back("--working-directory"); } else if (chosen_terminal_emulator.ends_with("urxvt")) { terminal_emulator_args.push_back("-cd"); + } else if (chosen_terminal_emulator.ends_with("xfce4-terminal")) { + terminal_emulator_args.push_back("--working-directory"); } } #endif |