If the file exists only in the left directory, "view right" should be disabled.
If the file exists only in the right directory, "view left" should be disabled.
Synchronize dirs: minor context menu issue
Moderators: white, Hacker, petermad, Stefan2
- ghisler(Author)
- Site Admin
- Posts: 48088
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately it's not that easy to disable items in the menu, because multiple items can be selected. "View left/right" then opens all these files, you can switch through them with n/p keys.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
This is not a big issue, but it would be pretty easy to solve it.
Just iterate through the selected items keeping two counters, one for the number of left files and one for the right files.
After that if the left files counter stays zero, the "view left" menu item can be disabled. The same goes for the right files.
Once again, this doesn't bother me that much though...
Just iterate through the selected items keeping two counters, one for the number of left files and one for the right files.
After that if the left files counter stays zero, the "view left" menu item can be disabled. The same goes for the right files.
Once again, this doesn't bother me that much though...