def METHOD_NAME(self):
    if self.view.map is not None:
        self.view.map.set_draw_airports(self.cbDrawAirports.isChecked(), port_type=self.cbAirportType.currentData())
        self.view.map.set_draw_airspaces(self.cbDrawAirspaces.isChecked(), self.cbAirspaces.currentData(),
                                         (self.sbFrom.value(), self.sbTo.value())
                                         if self.cbFilterAirspaces.isChecked() else None)
        self.view.draw()
    self.save_settings()