Delete bookmark button works properly, and bookmark textbox doesnt change height
This commit is contained in:
parent
3583550bb2
commit
d52759f898
2 changed files with 2 additions and 2 deletions
|
|
@ -794,7 +794,7 @@ void Toolbar::bookmark_menu(bool justOpened) {
|
|||
}
|
||||
});
|
||||
if(!toDelete.empty())
|
||||
main.world->bMan.remove_bookmark(bookMenu.newName);
|
||||
main.world->bMan.remove_bookmark(toDelete);
|
||||
bool bookmarkExists = std::find(main.world->bMan.sorted_names().begin(), main.world->bMan.sorted_names().end(), bookMenu.newName) != main.world->bMan.sorted_names().end();
|
||||
gui.left_to_right_line_layout([&]() {
|
||||
gui.input_text("bookmark text input", &bookMenu.newName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue