mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 05:53:59 -06:00
Merge pull request #9855 from Ultimaker/CURA-8233_filter_images_from_digital_factory
Filter images from DF open screen
This commit is contained in:
commit
4936ff54d2
1 changed files with 5 additions and 0 deletions
|
@ -385,6 +385,11 @@ class DigitalFactoryController(QObject):
|
|||
def _applicationInitializationFinished(self) -> None:
|
||||
self._supported_file_types = self._application.getInstance().getMeshFileHandler().getSupportedFileTypesRead()
|
||||
|
||||
# Although Cura supports these, it's super confusing in this context to show them.
|
||||
for extension in ["jpg", "jpeg", "png", "bmp", "gif"]:
|
||||
if extension in self._supported_file_types:
|
||||
del self._supported_file_types[extension]
|
||||
|
||||
@pyqtSlot()
|
||||
def openSelectedFiles(self) -> None:
|
||||
""" Downloads, then opens all files selected in the Qt frontend open dialog.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue