mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 15:38:59 +08:00
Add comments for putting open file logic in qml
CURA-3495
This commit is contained in:
parent
e4af8e36bb
commit
208935960f
@ -724,6 +724,10 @@ UM.MainWindow
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME(lipu): Yeah... I know... it is a mess to put all those things here.
|
||||||
|
// There are lots of user interactions in this part of the logic, such as showing a warning dialog here and there,
|
||||||
|
// etc. This means it will come back and forth from time to time between QML and Python. So, separating the logic
|
||||||
|
// and view here may require more effort but make things more difficult to understand.
|
||||||
function handleOpenFileUrls(fileUrls)
|
function handleOpenFileUrls(fileUrls)
|
||||||
{
|
{
|
||||||
// look for valid project files
|
// look for valid project files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user