Skip to content

Commit

Permalink
quick fix for pending issue: editing an ExternalFileType works now (s…
Browse files Browse the repository at this point in the history
…till room for improvement); visual bug concerning "lazy" update of table could be a Linux issue, since other tables are affected as well; so basically - except the "lazy" update thing -- everyting works concerning external file types
  • Loading branch information
systemoperator committed Jan 29, 2020
1 parent 654fb07 commit f37df3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public CustomizeExternalFileTypesDialog() {
this.setResultConverter(button -> {
if (button == ButtonType.OK) {
viewModel.storeSettings();
fileTypesTable.refresh();
}
return null;
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ private void showEditDialog(ExternalFileType type, String dialogTitle) {
typeForEdit = (CustomExternalFileType) type;
} else {
typeForEdit = new CustomExternalFileType(type);
fileTypes.add(fileTypes.indexOf(type), typeForEdit);
fileTypes.remove(type);
}

EditExternalFileTypeEntryDialog dlg = new EditExternalFileTypeEntryDialog(typeForEdit, dialogTitle);
Expand Down

0 comments on commit f37df3f

Please sign in to comment.