Skip to content

Commit

Permalink
Reload project after adding dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
ppouchin committed Nov 7, 2023
1 parent d0b1473 commit 83115f3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,7 @@ private void createNewDataset(ActionEvent e) {
}
try {
DatasetWrapper newDataset = project.addDataset(client, name, "");
project.reload(client);
id = newDataset.getId();
} catch (ExecutionException | ServiceException | AccessException exception) {
warningWindow("Could not create dataset: " + exception.getMessage());
Expand Down

0 comments on commit 83115f3

Please sign in to comment.