trim blueprints before saving
This commit is contained in:
parent
51f14014c5
commit
d92c5a2c25
1 changed files with 1 additions and 0 deletions
|
@ -277,6 +277,7 @@ impl Editor {
|
|||
}
|
||||
}
|
||||
}
|
||||
board.trim_size(0);
|
||||
let mut blueprint = Blueprint::new(&board, self.blueprints.len());
|
||||
if !self.new_blueprint_name.is_empty() {
|
||||
blueprint.name = self.new_blueprint_name.clone();
|
||||
|
|
Loading…
Reference in a new issue