Remove old todos

master
Oystein Kristoffer Tveit 2021-04-23 00:08:58 +02:00
parent 505f6872f2
commit eb7f89c932
3 changed files with 3 additions and 4 deletions

View File

@ -107,7 +107,9 @@ public class FiletreeController implements Initializable, Controller {
@Subscribe
private void handle(SaveFileEvent event) {
if (event.getIsNewFile())
Model.getProjectPath().ifPresent(path -> this.showTree(path.toString()));
Model
.getProjectPath()
.ifPresent(path -> this.showTree(path.toString()));
}
}

View File

@ -103,7 +103,6 @@ public class MenubarController implements Initializable, Controller {
try {
File dir = FileOperations.openFolderWithDialog(stage);
// TODO: Move Model modification inside event
this.eventBus.post(new OpenProjectEvent(dir.toPath()));
} catch (FileNotFoundException e) {}
}

View File

@ -33,8 +33,6 @@ public class ModelineController implements Initializable, Controller {
private EventBus eventBus;
// TODO: Add current filename label
@Override
public void initialize(URL url, ResourceBundle resourceBundle) {
setColumnRow(0, 1);