mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
[settings-sync] Fix 'Revert Changes' button appearing on first use when no user is logged in
(cherry picked from commit 8554b72def975f9755cd87464895465b876401c6) IJ-MR-170742 GitOrigin-RevId: 9e2d4d17bdec9f24f6e61313df1517b0dc801fa5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
bb03c1ef3f
commit
0a29a44334
@@ -244,7 +244,7 @@ internal class SettingsSyncConfigurable(private val coroutineScope: CoroutineSco
|
||||
.onIsModified {
|
||||
enableCheckbox.isSelected != SettingsSyncSettings.getInstance().syncEnabled
|
||||
|| syncConfigPanel.isModified()
|
||||
|| userDropDownLink.selectedItem?.userId != SettingsSyncLocalSettings.getInstance().userId
|
||||
|| (SettingsSyncLocalSettings.getInstance().userId != null && userDropDownLink.selectedItem?.userId != SettingsSyncLocalSettings.getInstance().userId)
|
||||
}
|
||||
.onApply {
|
||||
with(SettingsSyncLocalSettings.getInstance()) {
|
||||
|
||||
Reference in New Issue
Block a user