Running SlicerCAT with user defined toolbars and menues

Hi
I am trying to define the Slicer toolbar (‘Favorites’ toolbar)
I have edit ‘CMakeLists.txt’:
set(Slicer_DEFAULT_FAVORITE_MODULES “Crop Volume, SegmentEditor”)

as described in

I have build the project using visual studio (Windows)
and run the executable:
<Slicer_BUILD>/Slicer-build/Slicer.exe

but the SlicerCAT was just the same as before
‘Favorites’ tool bar just did not changed - It has all the default modules !

what am I missing ?
It looks like changing ‘CMakeLists.txt’ and qCustomAppNameAppMainWindow.cxx has no affect on the display of the SlicerCAT

thanks
Oren

Hi:

Did you reconfigure and re-run the top level build after changing the CMakeLists file?

Also, if you have already run the application before changing it, it may have stored the favorite modules in the settings, and used the user settings instead of the default modules list. From the window menu, got to Edit->Application Settings->Modules, and click the ‘restore defaults’ button at the bottom of the window.

I think you have solved my problem
It looks like SlicerCAT have read the setting from the old user setting file

thank you !