mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 08:17:49 -06:00
Don't import type that's only used for type checking
Contributes to issue CURA-6600.
This commit is contained in:
parent
f1299589c9
commit
7d49fd7fa2
1 changed files with 4 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
# Cura is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
from PyQt5.QtCore import Qt, QTimer
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
from UM.Logger import Logger
|
||||
from UM.Qt.ListModel import ListModel
|
||||
|
@ -9,7 +10,9 @@ from UM.Settings.SettingFunction import SettingFunction
|
|||
|
||||
import cura.CuraApplication # Imported this way to prevent circular dependencies.
|
||||
from cura.Machines.ContainerTree import ContainerTree
|
||||
from cura.Machines.QualityManager import QualityGroup
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from cura.Machines import QualityGroup
|
||||
|
||||
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue