ref #6932: remove dirty flag when research without saving
authorKatja Luther <k.luther@bgbm.org>
Tue, 7 Nov 2017 13:40:36 +0000 (14:40 +0100)
committerKatja Luther <k.luther@bgbm.org>
Tue, 7 Nov 2017 13:41:14 +0000 (14:41 +0100)
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/e4/BulkEditorE4.java

index 2dcc33c03196394835a1ceb75c643ef30a5c043d..5b696244abea2bf66f9dc14fff3761c4712d6940 100644 (file)
@@ -106,6 +106,7 @@ public class BulkEditorE4 implements IPartContentHasDetails, IConversationEnable
            for (int i = 0; i < titles.length; i++) {
                TableViewerColumn column = new TableViewerColumn(viewer, SWT.NONE);
                editors[i] = new TextCellEditor(table);
+
                column.getColumn().setText(titles[i]);
                column.getColumn().setWidth(bounds[i]);
                column.getColumn().setResizable(true);
@@ -228,7 +229,7 @@ public class BulkEditorE4 implements IPartContentHasDetails, IConversationEnable
                     return;
                 }
             }
-
+            dirty.setDirty(false);
             getEditorInput().dispose();
             getEditorInput().bind();
             getEditorInput().performSearch(query);