mirror of
https://github.com/veeso/termscp.git
synced 2026-04-04 17:21:21 -07:00
fix: fixed a crash when the local directory specified in the auth form does not exist
fix #319
This commit is contained in:
@@ -108,6 +108,10 @@ impl Context {
|
||||
pub fn error(&mut self) -> Option<String> {
|
||||
self.error.take()
|
||||
}
|
||||
|
||||
pub fn set_error(&mut self, error: String) {
|
||||
self.error = Some(error);
|
||||
}
|
||||
}
|
||||
|
||||
impl Drop for Context {
|
||||
|
||||
Reference in New Issue
Block a user