Revision: 10222
          http://sourceforge.net/p/skim-app/code/10222
Author:   hofman
Date:     2019-01-28 14:03:00 +0000 (Mon, 28 Jan 2019)
Log Message:
-----------
change table page label widths after resetting thumbnails, otherwise it tries 
to reset the row heights before the thumbnails are reloaded, using the wrong 
row count

Modified Paths:
--------------
    trunk/SKMainWindowController.m

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2019-01-17 20:08:23 UTC (rev 10221)
+++ trunk/SKMainWindowController.m      2019-01-28 14:03:00 UTC (rev 10222)
@@ -762,13 +762,6 @@
     
     [self updatePageLabel];
     
-    [self 
updatePageColumnWidthForTableView:leftSideController.thumbnailTableView];
-    [self 
updatePageColumnWidthForTableView:rightSideController.snapshotTableView];
-    [self updatePageColumnWidthForTableView:leftSideController.tocOutlineView];
-    [self 
updatePageColumnWidthForTableView:rightSideController.noteOutlineView];
-    [self updatePageColumnWidthForTableView:leftSideController.findTableView];
-    [self 
updatePageColumnWidthForTableView:leftSideController.groupedFindTableView];
-    
     // this uses the pageLabels
     [[leftSideController.thumbnailTableView typeSelectHelper] 
rebuildTypeSelectSearchCache];
     
@@ -777,6 +770,13 @@
     [self allSnapshotsNeedUpdate];
     [rightSideController.noteOutlineView reloadData];
     
+    [self 
updatePageColumnWidthForTableView:leftSideController.thumbnailTableView];
+    [self 
updatePageColumnWidthForTableView:rightSideController.snapshotTableView];
+    [self updatePageColumnWidthForTableView:leftSideController.tocOutlineView];
+    [self 
updatePageColumnWidthForTableView:rightSideController.noteOutlineView];
+    [self updatePageColumnWidthForTableView:leftSideController.findTableView];
+    [self 
updatePageColumnWidthForTableView:leftSideController.groupedFindTableView];
+    
     PDFOutline *outlineRoot = [[pdfView document] outlineRoot];
     
     mwcFlags.updatingOutlineSelection = 1;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to