On Tue, Aug 28, 2018, 4:50 AM kiteh wrote:
> Hi all, many thanks for getting back.
>
> It is upon the use of QSettings that I started to notice and wanted to
> implement checking conditions, as what Michael has mentioned, especially
> so, if there are 2 Maya sessions opened..
> Will look into
Hi all, many thanks for getting back.
It is upon the use of QSettings that I started to notice and wanted to
implement checking conditions, as what Michael has mentioned, especially
so, if there are 2 Maya sessions opened..
Will look into implementing callbacks then.
Thanks again!
--
You
The way Maya itself handles this is to only save settings when you close
Maya. I save settings from a lot of my tools using QSettings when they are
closed and it generally works well. The most significant caveat is that you
need to make doubly sure you handle exceptions when saving settings,