diff options
| author | Avi Levkovich <avi@twine-s.com> | 2018-05-09 11:44:32 +0300 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2018-05-09 11:44:32 +0300 |
| commit | 67255998056910f53640e11e634cfdbbd7f6880c (patch) | |
| tree | e8e1a7a7fb653a69cf3c2150367308a99a4d5c13 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules/DefaultStudioModuleLoader.cs | |
| parent | d84b6c4fff9cbf40263140a522fca3ae6bdfd57c (diff) | |
| parent | 915ee5e76204c895c71ae45447b47f24dfde44a8 (diff) | |
| download | Tango-67255998056910f53640e11e634cfdbbd7f6880c.tar.gz Tango-67255998056910f53640e11e634cfdbbd7f6880c.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules/DefaultStudioModuleLoader.cs')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules/DefaultStudioModuleLoader.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules/DefaultStudioModuleLoader.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules/DefaultStudioModuleLoader.cs index 4afddae69..26a789d0f 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules/DefaultStudioModuleLoader.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules/DefaultStudioModuleLoader.cs @@ -125,6 +125,8 @@ namespace Tango.MachineStudio.UI.Modules _loaded = true; } + AllModules = AllModules.OrderBy(x => x.GetType().GetCustomAttribute<StudioModuleAttribute>().Index).ToObservableCollection(); + UserModules.Clear(); if (_authenticationProvider.CurrentUser != null) |
