aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2018-05-09 11:44:32 +0300
committerAvi Levkovich <avi@twine-s.com>2018-05-09 11:44:32 +0300
commit67255998056910f53640e11e634cfdbbd7f6880c (patch)
treee8e1a7a7fb653a69cf3c2150367308a99a4d5c13 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules
parentd84b6c4fff9cbf40263140a522fca3ae6bdfd57c (diff)
parent915ee5e76204c895c71ae45447b47f24dfde44a8 (diff)
downloadTango-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')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules/DefaultStudioModuleLoader.cs2
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)