Skip to content

Commit

Permalink
Merge pull request #1 from gouzil/SemanticSegmentation/fix-save-error
Browse files Browse the repository at this point in the history
🐛 fix(SemanticSegmentation): save no finlyList
  • Loading branch information
Liyulingyue authored Jun 21, 2024
2 parents 2dde710 + 732019e commit ca39744
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/SemanticSegmentation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ const Page: React.FC = () => {
setCurrentAnnotation(anno);
annotation.setAll(annotation.all);
annotation.pushToBackend(data.curr?.dataId, annotation.all);
savefinlyList();
};

const onAnnotationModifyUP = (anno: Annotation) => {
Expand Down Expand Up @@ -312,6 +313,7 @@ const Page: React.FC = () => {
};
const onCtrlS = () => {
annotation.pushToBackend(data.curr?.dataId);
savefinlyList();
};
const onShiftCtrlC = () => {
console.log('onShiftCtrlC');
Expand Down Expand Up @@ -436,6 +438,7 @@ const Page: React.FC = () => {
imgSrc="./pics/buttons/save.png"
onClick={() => {
annotation.pushToBackend(data.curr?.dataId);
savefinlyList();
}}
disabled={interactorData.active}
>
Expand Down

0 comments on commit ca39744

Please sign in to comment.