The following commit has been merged in the master branch: commit adf4efaa65bedebfed30c0748900e6044e640521 Author: Andrei Zavada <johnhom...@gmail.com> Date: Mon Apr 22 18:20:18 2013 +0300
tweak overcrowded montage suggestion to only pop up when user has not any hidden before diff --git a/src/ui/sf/sf.cc b/src/ui/sf/sf.cc index 10e97f8..e01d96f 100644 --- a/src/ui/sf/sf.cc +++ b/src/ui/sf/sf.cc @@ -261,9 +261,9 @@ SScoringFacility (agh::CSubject& J, item); } // if there's too many visible, suggest to hide some - if ( channels.size() - n_hidden > 10 ) + if ( channels.size() > 10 && n_hidden == 0 ) aghui::pop_ok_message( - wSF, "Overcrowded montage", + wSF, "Montage is overcrowded", "The recording you are about to view has %zu channels. " "You can hide some from channel context menus.", channels.size() - n_hidden); -- Sleep experiment manager _______________________________________________ debian-med-commit mailing list debian-med-commit@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit