intellij-randomness / com.fwdekker.randomness / SettingsComponent / isModified

isModified

fun isModified(): Boolean

Returns true if this component contains unsaved changes.

Return
true if this component contains unsaved changes

open fun isModified(settings: S): Boolean

Returns true if this component contains unsaved changes.

Implement this method if the user should be able to reset their changes even if saving would not actually change the settings object.

Parameters

settings - the settings as they were loaded into the component

Return
true if this component contains unsaved changes