You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prevent users from removing layers or closing projects when
running tasks depend on those layers
It's not foolproof because there's many ways to remove layers
not through the QGIS gui and tasks should be written to nicely handle
layers being removed mid-way through execution.
But it's still a good warning for users if they accidently try to
load a new project and don't realise some task is still running
in the background.
tr( "The following tasks are currently running which depend on this layer:\n\n%1\n\nPlease cancel these tasks and retry." ).arg( activeTaskDescriptions.join( "\n" ) ) );
tr( "The following tasks are currently running which depend on layers in this project:\n\n%1\n\nPlease cancel these tasks and retry." ).arg( activeTaskDescriptions.toList().join( "\n" ) ) );
0 commit comments