bugfix
This commit is contained in:
parent
640dd5d8a7
commit
9b7840f277
|
@ -95,14 +95,6 @@ public class RootLayout extends Application implements EventObserver {
|
|||
/* (4) #scroll_container*/
|
||||
new ContainerScrollStyleSheet( this.root_scene.lookup("#scroll_container") );
|
||||
|
||||
|
||||
|
||||
NewsListModel.getInstance().addObserver("MainClass", this);
|
||||
NewsListModel.getInstance().setCategory(Category.all);
|
||||
NewsListModel.getInstance().setSortType(SortTypes.relevancy);
|
||||
|
||||
TraductionModel.getInstance().addObserver("MainClass", this);
|
||||
|
||||
VBox subMenuContainer = (VBox) this.root_layout.lookup("#submenu");
|
||||
|
||||
for(Node n : subMenuContainer.getChildren()) {
|
||||
|
@ -133,6 +125,12 @@ public class RootLayout extends Application implements EventObserver {
|
|||
|
||||
|
||||
this.handleMainLayoutChange("magazines");
|
||||
|
||||
NewsListModel.getInstance().addObserver("MainClass", this);
|
||||
NewsListModel.getInstance().setCategory(Category.all);
|
||||
NewsListModel.getInstance().setSortType(SortTypes.relevancy);
|
||||
|
||||
TraductionModel.getInstance().addObserver("MainClass", this);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue