[chronojump] Minor change
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Minor change
- Date: Mon, 12 Jul 2021 11:19:07 +0000 (UTC)
commit 843c7f116b35d03cc55e945563b44abb2d4ac0ff
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Jul 12 13:18:55 2021 +0200
Minor change
src/gui/app1/chronojumpPersons.cs | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/src/gui/app1/chronojumpPersons.cs b/src/gui/app1/chronojumpPersons.cs
index e4f8a6129..32dcb905e 100644
--- a/src/gui/app1/chronojumpPersons.cs
+++ b/src/gui/app1/chronojumpPersons.cs
@@ -52,10 +52,16 @@ public partial class ChronoJumpWindow
private void on_button_manage_persons_clicked (object o, EventArgs args)
{
- vbox_manage_persons.Visible = ! vbox_manage_persons.Visible;
-
- arrow_manage_persons_up.Visible = vbox_manage_persons.Visible;
- arrow_manage_persons_down.Visible = ! vbox_manage_persons.Visible;
+ if(vbox_manage_persons.Visible)
+ {
+ vbox_manage_persons.Visible = false;
+ arrow_manage_persons_down.Visible = true;
+ arrow_manage_persons_up.Visible = false;
+ } else {
+ vbox_manage_persons.Visible = true;
+ arrow_manage_persons_down.Visible = false;
+ arrow_manage_persons_up.Visible = true;
+ }
}
private void showPersonPhoto (bool showPhoto)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]