Undo finalized for layer and bookmark managers even when button is clicked to close menu

This commit is contained in:
Yousef Khadadeh 2026-01-09 15:04:51 +03:00
parent 176cd1c2d2
commit e760834592
3 changed files with 9 additions and 2 deletions

View file

@ -17,6 +17,8 @@ void BookmarkManager::server_init_no_file() {
void BookmarkManager::refresh_gui_data() {
selectionData = GUIStuff::TreeListing::SelectionData();
editing_bookmark_check();
oldSelection.clear();
editingBookmarkName = std::nullopt;
nameToEdit.clear();
nameForNew.clear();
}