michaellukashov / Far-NetBox

SFTP/SCP/FTP/FTPS/WebDAV/S3 client for Far Manager 3 (http://farmanager.com/)
https://forum.farmanager.com/viewtopic.php?t=6317
GNU General Public License v2.0
155 stars 52 forks source link

Don't unexpectedly change Transfer settings #478

Closed ssvine closed 1 month ago

ssvine commented 1 month ago

Default Transfer settings can be changed unexpectedly, for example when using Apply Command (Ctrl-G) in Local command mode.

Steps to reproduce:

  1. F11 => NetBox commands => Configure => Transfer settings
  2. Ensure that Preserve read-only option is set
  3. Open SCP session, select some text file and press Ctrl-G
  4. Enter notepad.exe ! command, select Local command and press Ok
  5. Close notepad
  6. Follow step 1 and see that Preserve read-only option is clear

This PR fixes the issue.

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud