[chronojump] Cont of last commit



commit ac1198e6f9008e52f7cd0718c51f3ee1e5dc2b7c
Author: Xavier de Blas <xaviblas gmail com>
Date:   Sat Oct 15 23:07:14 2022 +0200

    Cont of last commit

 src/gui/app1/chronojumpPersons.cs | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/src/gui/app1/chronojumpPersons.cs b/src/gui/app1/chronojumpPersons.cs
index 58e79dcc7..7d371e71e 100644
--- a/src/gui/app1/chronojumpPersons.cs
+++ b/src/gui/app1/chronojumpPersons.cs
@@ -350,8 +350,12 @@ public partial class ChronoJumpWindow
 
        private void on_show_all_person_events_activate (object o, EventArgs args)
        {
+               Person p = new Person (); //uniqueID = -1
+               if (currentPerson != null)
+                       p = currentPerson;
+
                personShowAllEventsWin = PersonShowAllEventsWindow.Show(app1,
-                               currentSession.UniqueID, currentPerson, true, preferences.colorBackground);
+                               currentSession.UniqueID, p, true, preferences.colorBackground);
        }
        
        


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]