diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/config/profiles.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config/profiles.c b/src/config/profiles.c index 8447ca2..8d7100d 100644 --- a/src/config/profiles.c +++ b/src/config/profiles.c @@ -119,6 +119,10 @@ changed(GFileMonitor G_GNUC_UNUSED *monitor, GFile G_GNUC_UNUSED *file, gchar *cur_name; gchar *cur_color; + if (event_type != G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT) { + return; + } + /* Save the current profile. */ if (profiles->current) { cur_name = mq_profiles_get_name( profiles, profiles->current); |