From b560dd6b7ada5a620ccf9a3e398d0948d6f36b9c Mon Sep 17 00:00:00 2001 From: nds Date: Mon, 12 Dec 2005 07:43:49 +0000 Subject: [PATCH] Correct --- src/ObjBrowser/OB_ListView.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ObjBrowser/OB_ListView.cxx b/src/ObjBrowser/OB_ListView.cxx index 5f3894120..53d62602f 100755 --- a/src/ObjBrowser/OB_ListView.cxx +++ b/src/ObjBrowser/OB_ListView.cxx @@ -176,7 +176,7 @@ int OB_ListView::columnMaxWidth( const int col ) const int res = -1; if( myMaxColWidth.contains( col ) ) res = myMaxColWidth[col]; - else if( myMaxColRatio[col] ) + else if( myMaxColRatio.contains( col ) ) res = int( myMaxColRatio[col]*height() ); return res; } -- 2.39.2