diff --git a/src/app/modules/main/communities/view.nim b/src/app/modules/main/communities/view.nim index 545c72a74e..fff5e29178 100644 --- a/src/app/modules/main/communities/view.nim +++ b/src/app/modules/main/communities/view.nim @@ -212,7 +212,7 @@ QtObject: return self.discordImportedChannelId QtProperty[int] discordImportedChannelId: - read = getDiscordImportedChannelIdCount + read = getDiscordImportedChannelId notify = discordImportedChannelIdChanged proc setDiscordImportErrorsCount*(self: View, count: int) = @@ -838,7 +838,8 @@ QtObject: proc keypairsSigningModelChanged*(self: View) {.signal.} proc getKeypairsSigningModel(self: View): QVariant {.slot.} = - return newQVariant(self.keypairsSigningModel) + return (if self.keypairsSigningModel.isNil: newQVariant() else: newQVariant(self.keypairsSigningModel)) + QtProperty[QVariant] keypairsSigningModel: read = getKeypairsSigningModel notify = keypairsSigningModelChanged