[med-svn] [SCM] aghermann branch, master, updated. c0bd21ca8eb529ade7e0c7aad22951a308a8dc8f

Andrei Zavada johnhommer at gmail.com
Wed May 1 00:09:24 UTC 2013


The following commit has been merged in the master branch:
commit adf4efaa65bedebfed30c0748900e6044e640521
Author: Andrei Zavada <johnhommer at 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



More information about the debian-med-commit mailing list