2014-11-13, 16:31
I know accessing databases directly is not something that should be done, but I'm trying to reset (set) globally the viewmodes with a Python addon.
Now to the question..
I see some viewmodes are stored in both guisettings.xml and viewmode6.db (DB), which one has priority over the other? or changes should be made to both at once?
or does guisettings.xml just set the "root" view which sticks unless DB says different?
in which case by editing guisettings.xml content and completely deleting DB.. it should be easy to set views.
Am I close?
help.
Also, If i missed a simpler way to globally set (reset) views all across the system, please forgive the question and let me know.
thanks.
Now to the question..
I see some viewmodes are stored in both guisettings.xml and viewmode6.db (DB), which one has priority over the other? or changes should be made to both at once?
or does guisettings.xml just set the "root" view which sticks unless DB says different?
in which case by editing guisettings.xml content and completely deleting DB.. it should be easy to set views.
Am I close?
help.
Also, If i missed a simpler way to globally set (reset) views all across the system, please forgive the question and let me know.
thanks.