mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-08-04 07:08:53 +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::Input::Present => {
|
||||||
self.win.as_ref().unwrap().present();
|
self.win.as_ref().unwrap().present();
|
||||||
sender.input(BuildWindowMsg::UpdateBuildStatus(BuildStatus::Building));
|
sender.input(BuildWindowMsg::UpdateBuildStatus(BuildStatus::Building));
|
||||||
|
self.set_content("".into());
|
||||||
|
self.textbuf.set_text("");
|
||||||
}
|
}
|
||||||
Self::Input::UpdateTitle(t) => {
|
Self::Input::UpdateTitle(t) => {
|
||||||
self.set_title(t);
|
self.set_title(t);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue