File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/java/org/jabref/gui/mergeentries/newmergedialog Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 2121import org .jabref .gui .mergeentries .newmergedialog .toolbar .ThreeWayMergeToolbar ;
2222import org .jabref .model .entry .BibEntry ;
2323import org .jabref .model .entry .field .Field ;
24+ import org .jabref .model .strings .StringUtil ;
2425
2526import com .tobiasdiez .easybind .EasyBind ;
2627import org .fxmisc .richtext .StyleClassedTextArea ;
@@ -150,7 +151,7 @@ public MergedFieldCell getMergedValueCell() {
150151 }
151152
152153 public void showDiff (ShowDiffConfig diffConfig ) {
153- if (!rightValueCell .isVisible ()) {
154+ if (!rightValueCell .isVisible () || StringUtil . isNullOrEmpty ( viewModel . getLeftFieldValue ()) || StringUtil . isNullOrEmpty ( viewModel . getRightFieldValue ()) ) {
154155 return ;
155156 }
156157 LOGGER .debug ("Showing diffs..." );
You can’t perform that action at this time.
0 commit comments