Skip to content

Commit 4dd1b07

Browse files
committed
Remove obj layer on new detect
1 parent 18e3483 commit 4dd1b07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coreplugins/objdetect/public/ObjDetectPanel.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ export default class ObjDetectPanel extends React.Component {
125125
}
126126

127127
handleDetect = () => {
128+
this.handleRemoveObjLayer();
128129
this.setState({detecting: true, error: "", progress: null});
129130
const taskId = this.state.task.id;
130131
this.saveInputValues();

0 commit comments

Comments
 (0)