2222import com .jfoenix .controls .JFXSlider ;
2323import com .jfoenix .controls .JFXTextField ;
2424import javafx .beans .InvalidationListener ;
25- import javafx .beans .property .*;
25+ import javafx .beans .property .ObjectProperty ;
26+ import javafx .beans .property .Property ;
27+ import javafx .beans .property .ReadOnlyObjectProperty ;
28+ import javafx .beans .property .SimpleObjectProperty ;
2629import javafx .beans .value .ChangeListener ;
2730import javafx .collections .FXCollections ;
2831import javafx .collections .ObservableList ;
3235import javafx .geometry .Rectangle2D ;
3336import javafx .scene .Node ;
3437import javafx .scene .Scene ;
35- import javafx .scene .control .ContentDisplay ;
36- import javafx .scene .control .Label ;
37- import javafx .scene .control .ScrollPane ;
38- import javafx .scene .control .TextFormatter ;
39- import javafx .scene .control .Tooltip ;
38+ import javafx .scene .control .*;
4039import javafx .scene .input .MouseEvent ;
4140import javafx .scene .layout .*;
4241import javafx .stage .FileChooser ;
@@ -1721,6 +1720,8 @@ private void bindInstanceIsolationButton(LineToggleButton button) {
17211720 updating .value = false ;
17221721 }
17231722 refresh .invalidated (instance );
1723+
1724+ fireEvent (new VersionPage .WorkingDirChangedEvent ());
17241725 });
17251726
17261727 currentSetting .addListener ((observable , oldValue , newValue ) -> {
@@ -1809,6 +1810,9 @@ private void bindRunningDirectoryProperty(
18091810 updating .value = false ;
18101811 }
18111812 refresh .invalidated (instance );
1813+
1814+ fireEvent (new VersionPage .WorkingDirChangedEvent ());
1815+
18121816 event .consume ();
18131817 });
18141818
@@ -1828,6 +1832,8 @@ private void bindRunningDirectoryProperty(
18281832 } finally {
18291833 updating .value = false ;
18301834 }
1835+
1836+ fireEvent (new VersionPage .WorkingDirChangedEvent ());
18311837 });
18321838
18331839 currentSetting .addListener ((observable , oldValue , newValue ) -> {
0 commit comments