Don't allow switching to a disabled tab by double clicking