[chronojump] show persons photo only when ! persons on top



commit 7d8d9cf2258e29ef9ce771001344fdbcd0de6564
Author: Xavier de Blas <xaviblas gmail com>
Date:   Sat Feb 10 16:09:02 2018 +0100

    show persons photo only when ! persons on top

 src/gui/chronojumpPersons.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/chronojumpPersons.cs b/src/gui/chronojumpPersons.cs
index ff77489..7c251a9 100644
--- a/src/gui/chronojumpPersons.cs
+++ b/src/gui/chronojumpPersons.cs
@@ -44,6 +44,9 @@ public partial class ChronoJumpWindow
                notebook_session_person.Visible = ! onTop;
                hbox_top_person.Visible = onTop;
                hbox_top_person_encoder.Visible = onTop;
+
+               //show photo option sensitive only when ! onTop
+               menuitem_view_persons_show_photo.Sensitive = ! onTop;
        }
 
 


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