mirror of
https://github.com/veeso/termscp.git
synced 2026-09-27 22:41:19 -07:00
From now on, if you try to leave setup without making any change, you won't be prompted whether to save configuration or not
This commit is contained in:
@@ -111,7 +111,9 @@ impl SetupActivity {
|
||||
.with_inverted_color(Color::Black)
|
||||
.with_borders(Borders::ALL, BorderType::Rounded, Color::LightRed)
|
||||
.with_options(
|
||||
Some(String::from("Exit setup?")),
|
||||
Some(String::from(
|
||||
"There are unsaved changes! Save changes before leaving?",
|
||||
)),
|
||||
vec![
|
||||
String::from("Save"),
|
||||
String::from("Don't save"),
|
||||
|
||||
Reference in New Issue
Block a user