Changeset 1513


Ignore:
Timestamp:
Aug 9, 2012, 5:10:38 PM (12 years ago)
Author:
Sam Habiel
Message:

cmdChangeResourceGroup_Click changed so that it clears the in-memory resource groups before retrieving them again from the server. This prevents problems when renaming resource groups which when renamed will show up as a separate entry in the ResourceGroup table when repopulating that table from the server.
Fixes bug EHS#0000341.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/DManagement.cs

    r1474 r1513  
    18201820
    18211821                                m_sResourceGroupName = sResGroupName;
     1822                m_dsGlobal.Tables["GroupResources"].Clear(); //must be cleared first as it has a relationship to ResourceGroup
     1823                m_dsGlobal.Tables["ResourceGroup"].Clear();
    18221824                                m_DocManager.LoadResourceGroupTable();
    1823                                 m_dsGlobal.Tables["GroupResources"].Clear();
    18241825                                m_DocManager.LoadGroupResourcesTable();
    18251826
Note: See TracChangeset for help on using the changeset viewer.