panel-window: Fix unreachable code

Fixes bug from a899b299
2 jobs for !54 with fix-unreachable-code in 4 minutes and 43 seconds (queued for 2 seconds)
latest detached
Status Job ID Name Coverage
  Build
passed #15468
build

00:01:39

 
  Distcheck
passed #15469
distcheck

00:03:03