Remove old todos
This commit is contained in:
parent
505f6872f2
commit
eb7f89c932
@ -107,7 +107,9 @@ public class FiletreeController implements Initializable, Controller {
|
|||||||
@Subscribe
|
@Subscribe
|
||||||
private void handle(SaveFileEvent event) {
|
private void handle(SaveFileEvent event) {
|
||||||
if (event.getIsNewFile())
|
if (event.getIsNewFile())
|
||||||
Model.getProjectPath().ifPresent(path -> this.showTree(path.toString()));
|
Model
|
||||||
|
.getProjectPath()
|
||||||
|
.ifPresent(path -> this.showTree(path.toString()));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -103,7 +103,6 @@ public class MenubarController implements Initializable, Controller {
|
|||||||
try {
|
try {
|
||||||
File dir = FileOperations.openFolderWithDialog(stage);
|
File dir = FileOperations.openFolderWithDialog(stage);
|
||||||
|
|
||||||
// TODO: Move Model modification inside event
|
|
||||||
this.eventBus.post(new OpenProjectEvent(dir.toPath()));
|
this.eventBus.post(new OpenProjectEvent(dir.toPath()));
|
||||||
} catch (FileNotFoundException e) {}
|
} catch (FileNotFoundException e) {}
|
||||||
}
|
}
|
||||||
|
@ -33,8 +33,6 @@ public class ModelineController implements Initializable, Controller {
|
|||||||
|
|
||||||
private EventBus eventBus;
|
private EventBus eventBus;
|
||||||
|
|
||||||
// TODO: Add current filename label
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void initialize(URL url, ResourceBundle resourceBundle) {
|
public void initialize(URL url, ResourceBundle resourceBundle) {
|
||||||
setColumnRow(0, 1);
|
setColumnRow(0, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user