mirror of
https://github.com/rclone/rclone.git
synced 2025-01-11 00:40:03 +01:00
config: fix menu selection when no remotes
This commit is contained in:
parent
b4be7d65a6
commit
ee14efd3c2
@ -1058,7 +1058,8 @@ func EditConfig() {
|
||||
fmt.Printf("\n")
|
||||
} else {
|
||||
fmt.Printf("No remotes found - make a new one\n")
|
||||
what = append(what[1:2], what[3:]...)
|
||||
// take 2nd item and last 2 items of menu list
|
||||
what = append(what[1:2], what[len(what)-2:]...)
|
||||
}
|
||||
switch i := Command(what); i {
|
||||
case 'e':
|
||||
|
Loading…
Reference in New Issue
Block a user