diff --git a/src/app/profile/view.nim b/src/app/profile/view.nim index 6283b5ff21..71fc7ca5c4 100644 --- a/src/app/profile/view.nim +++ b/src/app/profile/view.nim @@ -74,13 +74,13 @@ QtObject: proc profileSettingsFileChanged*(self: ProfileView) {.signal.} proc getProfileSettingsFile(self: ProfileView): string {.slot.} = - let address = - if (self.profile.address == ""): + let pubkey = + if (self.profile.pubKey == ""): UNKNOWN_ACCOUNT else: - self.profile.address + self.profile.pubKey - return os.joinPath(accountConstants.DATADIR, "qt", address) + return os.joinPath(accountConstants.DATADIR, "qt", pubkey) QtProperty[string] profileSettingsFile: read = getProfileSettingsFile