Hi All,<div><br></div><div>gui/wxpython/modules/colorrules.py, providing inteface for setting colortable for raster and vector. </div><div><br></div><div>As I reported on trac[1] several weeks ago there is a bug in the code which happens if no. color rules for raster map is big (eg: 32763 This for nc_spm_08/landsat 4,3,2 color composite) . This will result in crashing the whole wxGUI!</div>

<div><br></div><div>The problem is for each rule colorrules.py create a checkbox,textCtrl and ColorSelect.</div><div><br></div><div>Creating these widgets will hangup the UI.</div><div><br></div><div>A solution is to use a list control agw provides one such thing called ultimatelistCtrl.</div>

<div><br></div><div>I had updated the colorrules.py and made a patch for it. Anyone Please review and update the file</div><div><br></div><div>PFA patch</div><div><br></div><div>[0] <a href="http://trac.osgeo.org/grass/ticket/1816">http://trac.osgeo.org/grass/ticket/1816</a><br clear="all">

<div><br></div><div><br></div>-- <br><div><font face="arial, helvetica, sans-serif">Regards,<br>   Rashad</font></div><br>
</div>