Fix potential NPE in action editor dialog.

Change-Id: Iff979cc00bc2c81584a673883b9869799b3612da
Reviewed-on: http://gerrit.dmdirc.com/3976
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>