ide/Designer: Fixed bug introduced by 302ffd77aab8695d403b1557ee6bf8ffd8fc7aad