diff options
Diffstat (limited to 'src/repl')
| -rw-r--r-- | src/repl/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/repl/mod.rs b/src/repl/mod.rs index 743cf69..5c42d93 100644 --- a/src/repl/mod.rs +++ b/src/repl/mod.rs @@ -163,6 +163,9 @@ impl Repl { ".model" => match args { Some(name) => { self.config.write().set_model(name)?; + if self.config.read().state().is_normal() { + self.config.write().set_model_id(); + } } None => println!("Usage: .model <name>"), }, |
