set widget enabled, in order to workaround magic problem with Qt5