mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-04-20 11:35:48 +00:00
fix: empty build window buffer when presenting it
This commit is contained in:
parent
c95ab3d10f
commit
43c05070f2
1 changed files with 2 additions and 0 deletions
|
@ -132,6 +132,8 @@ impl SimpleComponent for BuildWindow {
|
|||
Self::Input::Present => {
|
||||
self.win.as_ref().unwrap().present();
|
||||
sender.input(BuildWindowMsg::UpdateBuildStatus(BuildStatus::Building));
|
||||
self.set_content("".into());
|
||||
self.textbuf.set_text("");
|
||||
}
|
||||
Self::Input::UpdateTitle(t) => {
|
||||
self.set_title(t);
|
||||
|
|
Loading…
Add table
Reference in a new issue