Always open tab which had been opened before application was closed last time.

This commit is contained in:
Dmitry Isaenko 2021-01-11 00:30:46 +03:00
parent d231a39e0c
commit 4d92e536ae
5 changed files with 45 additions and 8 deletions

View file

@ -135,4 +135,7 @@ public class AppPreferences {
// NXDT //
public String getNXDTSaveToLocation(){ return FilesHelper.getRealFolder(preferences.get("nxdt_saveto", System.getProperty("user.home"))); }
public void setNXDTSaveToLocation(String value){ preferences.put("nxdt_saveto", value); }
public String getLastOpenedTab(){ return preferences.get("recent_tab", ""); }
public void setLastOpenedTab(String tabId){ preferences.put("recent_tab", tabId); }
}