fixed type issue in QMessageBox

Invalid use of 'self' where self._workfiles_ui was needed, causing an exception while trying to indicate an error.
Effectively, the workspace wouldn't change, even though no error was obviously indicated. Instead, there was a call stack in the terminal.