z1dev / zkanji

Japanese language study suite and dictionary
GNU General Public License v3.0
59 stars 10 forks source link

crash when adding a word and there's no study deck created yet. #4

Closed gyan000 closed 7 years ago

gyan000 commented 7 years ago

Hello,

All is almost explained in the subject issue.

How to reproduce dictionary search mode -> search a kanji -> in the list view result, right-click -> "Add word to study deck"

I don't know what is the best option here :

Logs qtcreator_debugger.txt backtrace.txt

note : zkanji v0.0.3-alpha (fedora 26)

Thanks

z1dev commented 7 years ago

Thanks for reporting that.

I think I'll go with the automatic deck creation when the user tries to add words to decks. That sounds the most natural.

z1dev commented 7 years ago

A new deck called "Deck 1" is now created when trying to study with a deck and there's no deck in the dictionary.

gyan000 commented 7 years ago

Working as expected, thanks.