Can you show your method to where tabCloseRequested signal is connected? Maybe you are removing current tab instead of the one that is requested i.e. to where the index points to?