Windows: style selection fixup

.. infinite loop when clicking style selector on Linux or
Windows fixed and signals reconnected.