Remove old todos

This commit is contained in:
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 @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()));
} }
} }

View File

@ -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) {}
} }

View File

@ -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);