def save_current_config(self, ):
        """Saves the currently displayed config

        :returns: None
        :rtype: None
        :raises: None

        This resets the edited status of the file to False.
        Also asks the user to continue if config is invalid.

        """
        # check if all configs validate correctly
        btn = None
        for row in range(self.inimodel.rowCount()):
            i = self.inimodel.index(row, 0)
            r = self.inimodel.validate(i)
            if r is not True:
                btn = self.invalid_prompt()
                break

        if btn == QtGui.QMessageBox.Cancel:
            return
        current = self.files_lv.currentIndex()
        c = self.inimodel.data(current, self.inimodel.confobjRole)
        c.write()
        self.inimodel.set_index_edited(current, False)
Saves the currently displayed config

        :returns: None
        :rtype: None
        :raises: None

        This resets the edited status of the file to False.
        Also asks the user to continue if config is invalid.