diff options
Diffstat (limited to 'src/Main.cxx')
-rw-r--r-- | src/Main.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Main.cxx b/src/Main.cxx index ff957c1ee..47160a575 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -348,7 +348,8 @@ idle_event_emitted(void) if (flags != 0) instance->client_list->IdleAdd(flags); - if (flags & (IDLE_PLAYLIST|IDLE_PLAYER|IDLE_MIXER|IDLE_OUTPUT)) + if (flags & (IDLE_PLAYLIST|IDLE_PLAYER|IDLE_MIXER|IDLE_OUTPUT) && + state_file != nullptr) state_file->CheckModified(); } |