The following commit has been merged in the master branch:
commit 10bc1c33f465d78d1902b97f8cbc184c171d3ff7
Author: Andrei Zavada <[email protected]>
Date:   Sun Feb 3 13:20:11 2013 +0200

    set both EEG- and All-current channel in channel combo on msmt view

diff --git a/src/ui/mw/mw_cb.cc b/src/ui/mw/mw_cb.cc
index 718195d..7aec441 100644
--- a/src/ui/mw/mw_cb.cc
+++ b/src/ui/mw/mw_cb.cc
@@ -245,8 +245,11 @@ eMsmtChannel_changed_cb( GtkComboBox *combobox, gpointer 
userdata)
 {
        auto& ED = *(SExpDesignUI*)userdata;
        auto oldval = ED._AghTi;
+       auto newval = gtk_combo_box_get_active_id( combobox);
        ED._AghTi = find( ED.AghTT.begin(), ED.AghTT.end(),
-                      gtk_combo_box_get_active_id( combobox));
+                         newval);
+       ED._AghHi = find( ED.AghHH.begin(), ED.AghHH.end(),
+                         newval);
        if ( /* _AghTi != AghTT.end() && */ oldval != ED._AghTi )
                ED.populate_1();
        if ( ED.autoscale )

-- 
Sleep experiment manager

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to