Skip to content

Commit d100eaa

Browse files
committed
revert force refresh after unfreeze
1 parent ab3b00b commit d100eaa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vuu/src/main/scala/org/finos/vuu/viewport/ViewPortContainer.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,6 @@ class ViewPortContainer(val tableContainer: TableContainer, val providerContaine
340340
case vp: ViewPort =>
341341
if (vp.isFrozen) {
342342
vp.unfreeze()
343-
refreshOneTreeViewPort(vp)
344343
logger.debug(s"Unfroze viewport $vpId in container")
345344
} else {
346345
throw new Exception(s"Could not unfreeze viewport $vpId because it's not frozen")
@@ -904,11 +903,12 @@ class ViewPortContainer(val tableContainer: TableContainer, val providerContaine
904903
private def refreshOneViewPortInternal(viewPort: ViewPort): Unit = {
905904

906905
if (viewPort.isEnabled) {
907-
906+
System.out.println("MYDEBUG getStructuralHashCode")
908907
val currentStructureHash = viewPort.getStructuralHashCode()
909908
val currentUpdateCount = viewPort.getTableUpdateCount()
910909

911910
if (shouldCalculateKeys(viewPort, currentStructureHash, currentUpdateCount)) {
911+
System.out.println("shouldCalculateKeys true" )
912912

913913
val keys = viewPort.table.primaryKeys
914914

0 commit comments

Comments
 (0)