	// Do nothing if clicking to close a popup menu:
	if (kapp->activePopupWidget()) {
		m_noActionOnMouseRelease = true;
		// But we allow to select:
		// The code is the same as at the bottom of this method:
		if (event->button() == Qt::LeftButton) {
			m_selectionStarted = true;
			m_selectionBeginPoint = event->pos();
			m_selectionInvert = event->stateAfter() & Qt::ControlButton || event->stateAfter() & Qt::ShiftButton;
		}
		return;
	}

