[chronojump] Run encoder trigger display blank if no triggers
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Run encoder trigger display blank if no triggers
- Date: Tue, 28 Jan 2020 21:20:13 +0000 (UTC)
commit ca36a1d357791300d4700a09ee6793cdeca9375f
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Jan 28 22:17:59 2020 +0100
Run encoder trigger display blank if no triggers
src/gui/trigger.cs | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/gui/trigger.cs b/src/gui/trigger.cs
index dcd801db..4627d2f5 100644
--- a/src/gui/trigger.cs
+++ b/src/gui/trigger.cs
@@ -71,6 +71,10 @@ public partial class ChronoJumpWindow
TextBuffer tb1 = new TextBuffer (new TextTagTable());
tb1.Text = triggerListRunEncoder.ToString();
textview_run_encoder_triggers.Buffer = tb1;
+ } else {
+ TextBuffer tb1 = new TextBuffer (new TextTagTable());
+ tb1.Text = "";
+ textview_run_encoder_triggers.Buffer = tb1;
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]