--- gigedit/trunk/src/gigedit/Settings.h 2015/06/11 20:29:22 2772 +++ gigedit/trunk/src/gigedit/Settings.h 2015/06/12 17:57:52 2773 @@ -8,13 +8,14 @@ #ifndef GIGEDIT_SETTINGS #define GIGEDIT_SETTINGS -// Probably a bit overkill for only two settings (right now), but I saw +// Probably a bit overkill for only few settings (right now), but I saw // originnaly no better place to put this, since warnUserOnExtensions needs to // be accessed without a MainWindow instance. struct Settings { bool warnUserOnExtensions; ///< if enabled, the user shall he be warned if he is trying to use a gig format extension that will not work with Gigasampler/GigaStudio bool syncSamplerInstrumentSelection; ///< if enabled, the sampler's current instrument will automatically be switched whenever another instrument was selected in gigedit - + bool moveRootNoteWithRegionMoved; ///< if enabled, the root note(s) of regions are automatically moving when the user drags a region around at the virtual keyboard + static Settings* singleton(); Settings(); };