We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61d2d1d commit 4c97cdfCopy full SHA for 4c97cdf
src/controllers/app_controller.vala
@@ -58,8 +58,8 @@ namespace App.Controllers {
58
this.window.remove (element);
59
}
60
});
61
+ this.view_controler.update_views(this);
62
var aux = this.view_controler.get_current_view();
- aux.update_view(this);
63
this.window.add (aux);
64
65
src/controllers/view_controller.vala
@@ -61,5 +61,11 @@ namespace App.Controllers {
return state_to_view_dict[this.state];
+ public void update_views(AppController controler) {
+ foreach (AppView v in state_to_view_dict.values) {
66
+ v.update_view(controler);
67
+ }
68
69
+
70
71
0 commit comments