diff --git a/src/main/java/core/gui/model/PlayerOverviewTableModel.java b/src/main/java/core/gui/model/PlayerOverviewTableModel.java index 82c913645..d419f7152 100644 --- a/src/main/java/core/gui/model/PlayerOverviewTableModel.java +++ b/src/main/java/core/gui/model/PlayerOverviewTableModel.java @@ -205,6 +205,7 @@ protected void initData() { } } } + fireTableDataChanged(); } /** diff --git a/src/main/java/module/playerOverview/PlayerOverviewTable.java b/src/main/java/module/playerOverview/PlayerOverviewTable.java index 6caad5169..7a3df6e23 100644 --- a/src/main/java/module/playerOverview/PlayerOverviewTable.java +++ b/src/main/java/module/playerOverview/PlayerOverviewTable.java @@ -95,8 +95,10 @@ public final void selectPlayer(int playerId) { @Override public final void reInit() { + var player = getSelectedPlayer(); resetPlayers(); repaint(); + if ( player != null ) {selectPlayer(player.getPlayerId());} } public final void reInitModel() { diff --git a/src/main/resources/language/English.properties b/src/main/resources/language/English.properties index 8ae6476fc..c29a1e8c8 100644 --- a/src/main/resources/language/English.properties +++ b/src/main/resources/language/English.properties @@ -1173,16 +1173,10 @@ Lineup.Swap.ToolTip=Swap two players of the lineup ls.lineup.position.warning=not best suited position Lineup.CopyRatings.ToolTip=Copy ratings into the clipboard Lineup.PredictionModel.ToolTip=Select a ratings prediction model -Lineup.Feedback.Panel.Title=Feedback Plugin -Lineup.Feedback.ToolTip=Help improve rating prediction Lineup.CopyRatings.PlainText=Plaintext Lineup.CopyRatings.HattrickML=HT-ML table (HT forum) Lineup.CopyRatings.LineupAndRatings=Lineup and Ratings Info.users=Users -Lineup.Feedback.Panel.Instruction1=Please set the same lineup both in HO and in HT, as per the following recommendation -Lineup.Feedback.Panel.Instruction2=Paste the prediction ratings provided by HT -Lineup.Feedback.Panel.btnRefresh=Refresh -Lineup.Feedback.Panel.btnSend=Send #oauth oauth.Title=Authorization