Add comments for putting open file logic in qml

CURA-3495
This commit is contained in:
Lipu Fei 2017-03-28 15:02:45 +02:00
parent e4af8e36bb
commit 208935960f

View file

@ -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)
{
// look for valid project files