[chronojump] Fixed a bug on showPersonsPhoto



commit cf010406fa4b4e59761fd682d9ec2170494b3688
Author: Xavier de Blas <xaviblas gmail com>
Date:   Sun Feb 11 14:46:39 2018 +0100

    Fixed a bug on showPersonsPhoto

 src/gui/chronojumpPersons.cs |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/gui/chronojumpPersons.cs b/src/gui/chronojumpPersons.cs
index e39a351..bcfdbaa 100644
--- a/src/gui/chronojumpPersons.cs
+++ b/src/gui/chronojumpPersons.cs
@@ -61,10 +61,7 @@ public partial class ChronoJumpWindow
 
        private void showPersonPhoto (bool showPhoto)
        {
-               if(! menuitem_view_persons_on_top.Active)
-               {
-                       hbox_persons_bottom_photo.Visible = showPhoto;
-                       hbox_persons_bottom_no_photo.Visible = ! showPhoto;
-               }
+               hbox_persons_bottom_photo.Visible = showPhoto;
+               hbox_persons_bottom_no_photo.Visible = ! showPhoto;
        }
 }


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