[chronojump] 1RM updated on main GUI when a row is deleted
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] 1RM updated on main GUI when a row is deleted
- Date: Wed, 8 Jun 2016 19:06:39 +0000 (UTC)
commit edf312dd9d57cfb8d02214c5b8e98903721a0242
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Jun 8 20:43:32 2016 +0200
1RM updated on main GUI when a row is deleted
src/gui/encoder.cs | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index 167497f..2b791ff 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -808,6 +808,9 @@ public partial class ChronoJumpWindow
Sqlite.Delete(false, Constants.Encoder1RMTable, Convert.ToInt32(uniqueID));
+ array1RMUpdate(false);
+ encoder_change_displaced_weight_and_1RM ();
+
genericWin.Delete_row_accepted();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]