compiled if statement in the read_only mode
This commit is contained in:
@@ -73,7 +73,7 @@ impl FormState {
|
||||
.expect("Invalid current_field index")
|
||||
}
|
||||
|
||||
fn update_from_response(&mut self, response: common::proto::multieko2::adresar::AdresarResponse) {
|
||||
pub fn update_from_response(&mut self, response: common::proto::multieko2::adresar::AdresarResponse) {
|
||||
self.id = response.id;
|
||||
self.values = vec![
|
||||
response.firma, response.kz, response.drc,
|
||||
|
||||
Reference in New Issue
Block a user