Skip to content

Commit 32cbc79

Browse files
404agpwielders
andauthored
Make the resume flag also report if it was *not* set (#487)
Co-authored-by: pwielders <[email protected]>
1 parent 90f6ef0 commit 32cbc79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/plugins/Service.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ namespace PluginHost {
221221
}
222222
virtual bool Resumed() const
223223
{
224-
return (_config.Configuration().Resumed.Value());
224+
return (_config.Configuration().Resumed.IsSet() ? _config.Configuration().Resumed.Value() : (_config.Configuration().AutoStart.Value() == false));
225225
}
226226
virtual bool IsSupported(const uint8_t number) const
227227
{

0 commit comments

Comments
 (0)