A [very] long press of the 'open' button on the key activate the 'comfort opening' function, where both cab windows will open. Similarly, a long press on the 'close' button will activate the 'comfort closing' function. So, yes, it's highly probable that's what you did.