fix: #I7T5XZ 修复自动保存失效的问题
This commit is contained in:
parent
a9ffa47801
commit
ea91fcb8bb
@ -155,6 +155,7 @@ public class Controller implements ControllerInterface {
|
|||||||
textArea.setText(text);
|
textArea.setText(text);
|
||||||
|
|
||||||
Tab tab = createNewTab(file.getName(), textArea);
|
Tab tab = createNewTab(file.getName(), textArea);
|
||||||
|
tab.setUserData(file);
|
||||||
ViewManager.tabPane.getTabs().add(tab);
|
ViewManager.tabPane.getTabs().add(tab);
|
||||||
ViewManager.tabPane.getSelectionModel().select(tab);
|
ViewManager.tabPane.getSelectionModel().select(tab);
|
||||||
updateStatusLabel(textArea);
|
updateStatusLabel(textArea);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user