Typing typo.

CURA-7864
This commit is contained in:
Remco Burema 2021-01-08 13:51:03 +01:00
parent aa0a08500e
commit 13d45e3a55
No known key found for this signature in database
GPG key ID: 215C49431D43F98C

View file

@ -1735,7 +1735,7 @@ class CuraApplication(QtApplication):
@pyqtSlot(QUrl, str)
@pyqtSlot(QUrl)
def readLocalFile(self, file: QUrl, project_mode: Optional[str] = None, add_to_recent_files: str = True):
def readLocalFile(self, file: QUrl, project_mode: Optional[str] = None, add_to_recent_files: bool = True):
"""Open a local file
:param project_mode: How to handle project files. Either None(default): Follow user preference, "open_as_model"