[ui] Viewer2D: reset the "useExternal" flag after dropping an image in the Viewer2D

This commit is contained in:
Candice Bentéjac 2022-11-22 12:58:23 +01:00
parent 8e9128be8d
commit feee10e97d

View file

@ -281,6 +281,8 @@ FocusScope {
onSelectedViewIdChanged: {
root.source = getImageFile();
root.metadata = getMetadata();
if (useExternal)
useExternal = false;
}
}