changeset 2027:223cf05a7e6a

dw-resource-test: start with first item selected
author Jorge Arellano Cid <jcid@dillo.org>
date Mon, 16 May 2011 14:47:29 -0400
parents b4c1aa2d99dc
children f356a146762b
files test/dw_resource_test.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/dw_resource_test.cc	Mon May 16 13:57:33 2011 -0400
+++ b/test/dw_resource_test.cc	Mon May 16 14:47:29 2011 -0400
@@ -87,7 +87,7 @@
    widgetStyle->unref();
 
    for(int i = 0; i < 50; i++)
-      res->addItem ("Hello, world!", true, false);
+      res->addItem ("Hello, world!", true, i == 0 ? true : false);
 
    textblock->flush ();