Revision: 16692
          http://sourceforge.net/p/skim-app/code/16692
Author:   hofman
Date:     2026-10-22 14:23:18 +0000 (Thu, 22 Oct 2026)
Log Message:
-----------
set presentation notes navigation to nil when removing

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

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2026-10-22 14:17:36 UTC (rev 
16691)
+++ trunk/SKMainWindowController_FullScreen.m   2026-10-22 14:23:18 UTC (rev 
16692)
@@ -800,12 +800,18 @@
 }
 
 - (void)removePresentationNotesNavigation {
-    if ([presentationNotesAuxiliary trackingArea])
+    if ([presentationNotesAuxiliary trackingArea]) {
         [[self presentationNotesView] 
removeTrackingArea:[presentationNotesAuxiliary trackingArea]];
-    if ([presentationNotesAuxiliary button])
+        [presentationNotesAuxiliary setTrackingArea:nil];
+    }
+    if ([presentationNotesAuxiliary button]) {
         [[presentationNotesAuxiliary button] removeFromSuperview];
-    if ([presentationNotesAuxiliary timerView])
+        [presentationNotesAuxiliary setButton:nil];
+    }
+    if ([presentationNotesAuxiliary timerView]) {
         [[presentationNotesAuxiliary timerView] removeFromSuperview];
+        [presentationNotesAuxiliary setTimerView:nil];
+    }
 }
 
 - (void)mouseEntered:(NSEvent *)event {

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