aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--logic/database.gd1
-rw-r--r--readme.md2
2 files changed, 2 insertions, 1 deletions
diff --git a/logic/database.gd b/logic/database.gd
index e14dba4..2258f55 100644
--- a/logic/database.gd
+++ b/logic/database.gd
@@ -85,6 +85,7 @@ func delete_action_confirmed():
self.remove_item(selected_idx)
selected_idx = -1
store_database()
+ clear_selection()
func edit_action():
diff --git a/readme.md b/readme.md
index d16e0b9..d403fab 100644
--- a/readme.md
+++ b/readme.md
@@ -44,7 +44,7 @@ Surgery Log
```
- [x] Fix the show option sets buttons; they are drawn over the input fields and hide inserted text;
- [x] The stage control must be set to ignore the mouse, otherwise the touch-sensor conflicts with the built-in scroll;
-- [ ] On database, selecting an entry and removing it will leave the action buttons visible while no entry is selected;
+- [x] On database, selecting an entry and removing it will leave the action buttons visible while no entry is selected;
- [ ] Allow to parse option sets from database file;
- [ ] Database menu and action buttons are not nice; Improve appearance;
- [ ] check if import_option_sets, store_option_sets, store_database require the parameter save_changes; this requires changes on databse, stage and menu scripts;