Corrected import code to work with multiple menu items

Had to add a call to QObject.sender() to determine which menu action
invoked the import dialog.