david-swift / Memorize

Study flashcards in a native GNOME app
https://flathub.org/apps/io.github.david_swift.Flashcards
GNU General Public License v3.0
95 stars 9 forks source link

The Set is created even if the user cancels the operation #46

Closed Heus-Sueh closed 6 months ago

Heus-Sueh commented 7 months ago

Describe the bug

clicking on the "add a set" button and pressing the ESC key does not prevent the set from being created

To Reproduce

click on the "add set" button and press ESC

Expected behavior

the set should not be created

Additional context

I think we could prevent this with the user being forced to put a name on the set