mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-22 03:28:52 +00:00
fix(CommunitiesModule): Qt props fixed to not crash MonitoringTool
Closes: #14493
This commit is contained in:
parent
2de601c293
commit
26b875ea16
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user