diff --git a/openlp/core/__init__.py b/openlp/core/__init__.py index 50a1ab9b6..b663fc55b 100644 --- a/openlp/core/__init__.py +++ b/openlp/core/__init__.py @@ -36,8 +36,8 @@ import shutil import time from PyQt5 import QtCore, QtGui, QtWidgets -from openlp.core.common import Registry, OpenLPMixin, AppLocation, Settings, UiStrings, check_directory_exists, \ - is_macosx, is_win, translate +from openlp.core.common import Registry, OpenLPMixin, AppLocation, LanguageManager, Settings, UiStrings, \ + check_directory_exists, is_macosx, is_win, translate from openlp.core.lib import ScreenList from openlp.core.resources import qInitResources from openlp.core.ui.mainwindow import MainWindow @@ -45,7 +45,7 @@ from openlp.core.ui.firsttimelanguageform import FirstTimeLanguageForm from openlp.core.ui.firsttimeform import FirstTimeForm from openlp.core.ui.exceptionform import ExceptionForm from openlp.core.ui import SplashScreen -from openlp.core.utils import LanguageManager, VersionThread, get_application_version +from openlp.core.utils import VersionThread, get_application_version __all__ = ['OpenLP', 'main'] diff --git a/openlp/core/ui/firsttimelanguageform.py b/openlp/core/ui/firsttimelanguageform.py index a55713bf0..4058612fb 100644 --- a/openlp/core/ui/firsttimelanguageform.py +++ b/openlp/core/ui/firsttimelanguageform.py @@ -25,7 +25,7 @@ The language selection dialog. from PyQt5 import QtCore, QtWidgets from openlp.core.lib.ui import create_action -from openlp.core.utils import LanguageManager +from openlp.core.common import LanguageManager from .firsttimelanguagedialog import Ui_FirstTimeLanguageDialog diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py index 3ca4137e1..3fd154c14 100644 --- a/openlp/core/ui/mainwindow.py +++ b/openlp/core/ui/mainwindow.py @@ -34,8 +34,8 @@ from tempfile import gettempdir from PyQt5 import QtCore, QtGui, QtWidgets -from openlp.core.common import Registry, RegistryProperties, AppLocation, Settings, check_directory_exists, translate, \ - is_win, is_macosx +from openlp.core.common import Registry, RegistryProperties, AppLocation, LanguageManager, Settings, \ + check_directory_exists, translate, is_win, is_macosx from openlp.core.common.actions import ActionList, CategoryOrder from openlp.core.lib import Renderer, OpenLPDockWidget, PluginManager, ImageManager, PluginStatus, ScreenList, \ build_icon @@ -46,7 +46,7 @@ from openlp.core.ui.firsttimeform import FirstTimeForm from openlp.core.ui.media import MediaController from openlp.core.ui.printserviceform import PrintServiceForm from openlp.core.ui.projector.manager import ProjectorManager -from openlp.core.utils import LanguageManager, add_actions, get_application_version +from openlp.core.utils import get_application_version, add_actions log = logging.getLogger(__name__)