--- a/eric7/Preferences/__init__.py Sat Sep 25 18:08:10 2021 +0200 +++ b/eric7/Preferences/__init__.py Sat Sep 25 18:12:48 2021 +0200 @@ -1628,7 +1628,17 @@ QCoreApplication.setApplicationName(Globals.settingsNameGlobal) Prefs.settings.value("UI/SingleApplicationMode") + + +def getSettings(): + """ + Function to get a reference to the settings object. + @return reference to the settings object + @rtype QSettings + """ + return Prefs.settings + def syncPreferences(): """