def restore_defaults(self):
        """Restore defaults profiles."""
        title = tr('Restore defaults')
        msg = tr(
            'Restoring defaults will overwrite your changes on profiles '
            'provided by InaSAFE. Do you want to continue ?')
        # noinspection PyCallByClass
        reply = QMessageBox.question(
            self,
            title,
            msg,
            QtWidgets.QMessageBox.Yes,
            QtWidgets.QMessageBox.No
        )

        if reply == QtWidgets.QMessageBox.Yes:
            self.profile_combo.clear()
            self.load_profiles(True)
            # Next 2 lines fixes issues #1388 #1389 #1390 #1391
            if self.profile_combo.count() > 0:
                self.select_profile(0)
Restore defaults profiles.