Ejemplo n.º 1
0
def on_outline_changed(**kwargs):
    """ Respond to an outline_changed signal being received.
    """
    if isAutomaticCacheReloadingEnabled():
        resultsCache.dataChanged()
    else:
        appSettings.set("outline_did_change", "1")
Ejemplo n.º 2
0
def on_location_name_changed(**kwargs):
    """ Respond to a location_name_changed signal being received.
    """
    if isAutomaticCacheReloadingEnabled():
        locationNameCache.locationNameChanged()
        resultsCache.dataChanged()
    else:
        appSettings.set("location_name_did_change", "1")