tuleap #835 Compare files reset table using M1+6
Change-Id: I43b0283b15c0f8086fb7479b85de16c95c396674
Signed-off-by: Jacques Bouthillier <lmcbout@gmail.com>
diff --git a/org.eclipse.egerrit.dashboard.ui/src/org/eclipse/egerrit/internal/dashboard/ui/commands/FixupTableDefaultHandler.java b/org.eclipse.egerrit.dashboard.ui/src/org/eclipse/egerrit/internal/dashboard/ui/commands/FixupTableDefaultHandler.java
index 3e5e949..4fbdd35 100644
--- a/org.eclipse.egerrit.dashboard.ui/src/org/eclipse/egerrit/internal/dashboard/ui/commands/FixupTableDefaultHandler.java
+++ b/org.eclipse.egerrit.dashboard.ui/src/org/eclipse/egerrit/internal/dashboard/ui/commands/FixupTableDefaultHandler.java
@@ -15,6 +15,7 @@
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.egerrit.internal.dashboard.ui.views.GerritTableView;
+import org.eclipse.egerrit.internal.ui.compare.CompareUpperSectionColumn;
import org.eclipse.egerrit.internal.ui.editors.ChangeDetailEditor;
import org.eclipse.egerrit.internal.ui.table.UIConflictsWithTable;
import org.eclipse.egerrit.internal.ui.table.UIFilesTable;
@@ -96,8 +97,8 @@
}
} else if (id.compareTo(COMPARE_EDITOR_ID) == 0) {
if (table instanceof Tree) {
- FilesTableModel[] tableInfo = FilesTableModel.values();
- ((Tree) table).setColumnOrder(FilesTableModel.getDefaultOrder());
+ CompareUpperSectionColumn[] tableInfo = CompareUpperSectionColumn.values();
+ ((Tree) table).setColumnOrder(CompareUpperSectionColumn.getDefaultOrder());
setTableDefaultWidth(table, tableInfo);
}
}