Hotfix for 'open recent tab' feature: if non-functional tab selected then 'Games' (default) tab would be opened.
This commit is contained in:
parent
4d92e536ae
commit
79c519b1f3
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ public class NSLMainController implements Initializable {
|
|||
private void saveLastOpenedTab(){
|
||||
String tabId = mainTabPane.getSelectionModel().getSelectedItem().getId();
|
||||
if (tabId == null || tabId.isEmpty())
|
||||
return;
|
||||
tabId = "";
|
||||
AppPreferences.getInstance().setLastOpenedTab(tabId);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue