Skip to content

Commit

Permalink
Clear bookmark selection when saving bookmark
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Dec 14, 2024
1 parent 4ba293d commit 4db1de6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "qwc2",
"version": "2024.12.12-master",
"version": "2024.12.14-master",
"description": "QGIS Web Client 2 core",
"author": "Sourcepole AG",
"license": "BSD-2-Clause",
Expand Down
2 changes: 1 addition & 1 deletion plugins/Bookmark.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class Bookmark extends React.Component {
/* eslint-disable-next-line */
alert(LocaleUtils.tr("bookmark.savefailed"));
}
this.setState({saving: false});
this.setState({saving: false, description: "", currentBookmark: null});
this.refresh();
});
};
Expand Down

0 comments on commit 4db1de6

Please sign in to comment.