[Mmclibrary-svn] SF.net SVN: mmclibrary:[12] MMCLib2/Core/Component.cs
Brought to you by:
imjimmurphy,
kachalkov
From: <tig...@us...> - 2009-10-08 09:02:20
|
Revision: 12 http://mmclibrary.svn.sourceforge.net/mmclibrary/?rev=12&view=rev Author: tigerharry Date: 2009-10-08 09:01:59 +0000 (Thu, 08 Oct 2009) Log Message: ----------- fixed wrong comparison of MMC_VIEW_OPTIONS.NOLISTVIEWS leading to an access violation when refresh is triggered on a non ReportNode Modified Paths: -------------- MMCLib2/Core/Component.cs Modified: MMCLib2/Core/Component.cs =================================================================== --- MMCLib2/Core/Component.cs 2009-07-15 08:44:24 UTC (rev 11) +++ MMCLib2/Core/Component.cs 2009-10-08 09:01:59 UTC (rev 12) @@ -750,7 +750,7 @@ //This allow not to clear items while OnShow event int pvo = 0; node.GetResultViewType(ref pvo); - if ((pvo & (int)MMC_VIEW_OPTIONS.NOLISTVIEWS) != 0) + if ((pvo & (int)MMC_VIEW_OPTIONS.NOLISTVIEWS) == 0) ((IResultData)_console).DeleteAllRsltItems(); node.OnRefresh(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |