unclebob / more-speech

A Nostr browser in Clojure.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NullPointerException when "Reply" clicked right after start

m1kal opened this issue · comments

When the app is started, it is possible to click "Reply" when no message is selected.

Then the console shows "Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException".

This has no impact on the app behavior, but I think make-edit-window should check if an article was selected before calling format-reply.

Good idea.