Fixed #21. Checked return value of QMessageBox.question().
Merge pull request #24 from gageames/issue21

Fixed #21. Check return value of QMessageBox.question().