From 22e9bf811337aa47374d49238be2551ffe87a66e Mon Sep 17 00:00:00 2001 From: Siedlerchr Date: Tue, 19 Feb 2019 16:41:30 +0100 Subject: [PATCH] fix copy base bug in Strings Dialog validation --- .../org/jabref/gui/metadata/BibtexStringEditorDialogView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/jabref/gui/metadata/BibtexStringEditorDialogView.java b/src/main/java/org/jabref/gui/metadata/BibtexStringEditorDialogView.java index bdb3f169c00..a5afc2c8215 100644 --- a/src/main/java/org/jabref/gui/metadata/BibtexStringEditorDialogView.java +++ b/src/main/java/org/jabref/gui/metadata/BibtexStringEditorDialogView.java @@ -69,7 +69,7 @@ private void initialize() { new ViewModelTextFieldTableCellVisualizationFactory().withValidation(BibtexStringViewModel::labelValidation, visualizer).install(colLabel, new DefaultStringConverter()); colContent.setCellValueFactory(cellData -> cellData.getValue().contentProperty()); - new ViewModelTextFieldTableCellVisualizationFactory().withValidation(BibtexStringViewModel::labelValidation, visualizer).install(colContent, new DefaultStringConverter()); + new ViewModelTextFieldTableCellVisualizationFactory().withValidation(BibtexStringViewModel::contentValidation, visualizer).install(colContent, new DefaultStringConverter()); colLabel.setOnEditCommit((CellEditEvent cell) -> { cell.getRowValue().setLabel(cell.getNewValue());