Open File Browser on Media Insert (option) (#20151)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
5768ee0f9e
commit
ecd8227de0
@@ -152,19 +152,17 @@ void Password::menu_password_report() {
|
||||
END_SCREEN();
|
||||
}
|
||||
|
||||
void Password::set_password_done() {
|
||||
is_set = true;
|
||||
void Password::set_password_done(const bool with_set/*=true*/) {
|
||||
is_set = with_set;
|
||||
value = value_entry;
|
||||
ui.completion_feedback(true);
|
||||
ui.goto_screen(menu_password_report);
|
||||
}
|
||||
|
||||
void Password::remove_password() {
|
||||
is_set = false;
|
||||
string[0] = '0';
|
||||
string[1] = '\0';
|
||||
ui.completion_feedback(true);
|
||||
ui.goto_screen(menu_password_report);
|
||||
set_password_done(false);
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user