mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Fixed empty bookmark name causing termscp to crash
This commit is contained in:
@@ -46,6 +46,7 @@ Released on FIXME: ??
|
|||||||
- when you change the protocol in the authentication form and the current port is standard (`< 1024`), the port will be automatically changed to default value for the selected protocol (e.g. current port: `123`, protocol is changes to `FTP`, port becomes `21`)
|
- when you change the protocol in the authentication form and the current port is standard (`< 1024`), the port will be automatically changed to default value for the selected protocol (e.g. current port: `123`, protocol is changes to `FTP`, port becomes `21`)
|
||||||
- Bugfix:
|
- Bugfix:
|
||||||
- Fixed wrong text wrap in log box
|
- Fixed wrong text wrap in log box
|
||||||
|
- Fixed empty bookmark name causing termscp to crash
|
||||||
- Fixed error message not being shown after an upload failure
|
- Fixed error message not being shown after an upload failure
|
||||||
- Fixed default protocol not being loaded from config
|
- Fixed default protocol not being loaded from config
|
||||||
- [Issue 23](https://github.com/veeso/termscp/issues/23): Remove created file if transfer failed or was abrupted
|
- [Issue 23](https://github.com/veeso/termscp/issues/23): Remove created file if transfer failed or was abrupted
|
||||||
|
|||||||
@@ -271,7 +271,9 @@ impl AuthActivity {
|
|||||||
Some(Payload::One(Value::Usize(0)))
|
Some(Payload::One(Value::Usize(0)))
|
||||||
);
|
);
|
||||||
// Save bookmark
|
// Save bookmark
|
||||||
self.save_bookmark(bookmark_name, save_pwd);
|
if !bookmark_name.is_empty() {
|
||||||
|
self.save_bookmark(bookmark_name, save_pwd);
|
||||||
|
}
|
||||||
// Umount popup
|
// Umount popup
|
||||||
self.umount_bookmark_save_dialog();
|
self.umount_bookmark_save_dialog();
|
||||||
// Reload bookmarks
|
// Reload bookmarks
|
||||||
|
|||||||
Reference in New Issue
Block a user