Fix warning about btnCode being used uninitialized.
Warn and early-return instead of emitting a signal with an uninitialized value, if this ever happens.
NO_CHANGELOG
Warn and early-return instead of emitting a signal with an uninitialized value, if this ever happens.
NO_CHANGELOG