Fixes in rule violations and private chat
This commit is contained in:
parent
dad3026ba0
commit
120c2b4231
|
@ -887,6 +887,7 @@ end
|
||||||
|
|
||||||
function onRuleViolationLock()
|
function onRuleViolationLock()
|
||||||
if not violationReportTab then return end
|
if not violationReportTab then return end
|
||||||
|
violationReportTab.locked = false
|
||||||
addTabText(tr('Your request has been closed') .. '.', SpeakTypesSettings.privateRed, violationReportTab)
|
addTabText(tr('Your request has been closed') .. '.', SpeakTypesSettings.privateRed, violationReportTab)
|
||||||
violationReportTab.locked = true
|
violationReportTab.locked = true
|
||||||
end
|
end
|
||||||
|
|
|
@ -10,16 +10,17 @@ MainWindow
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
max-length: 255
|
|
||||||
|
|
||||||
TextEdit
|
TextEdit
|
||||||
id: text
|
id: text
|
||||||
|
text-wrap: true
|
||||||
multiline: true
|
multiline: true
|
||||||
anchors.top: prev.bottom
|
anchors.top: prev.bottom
|
||||||
anchors.bottom: next.top
|
anchors.bottom: next.top
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
margin: 8 0
|
margin: 8 0
|
||||||
|
max-length: 255
|
||||||
|
|
||||||
Button
|
Button
|
||||||
id: buttonOk
|
id: buttonOk
|
||||||
|
|
|
@ -187,8 +187,8 @@ function onVipListLabelMousePress(widget, mousePos, mouseButton)
|
||||||
|
|
||||||
if modules.game_console.getOwnPrivateTab() then
|
if modules.game_console.getOwnPrivateTab() then
|
||||||
menu:addSeparator()
|
menu:addSeparator()
|
||||||
menu:addOption(tr('Invite to private chat'), function() g_game.inviteToOwnChannel(creatureName) end)
|
menu:addOption(tr('Invite to private chat'), function() g_game.inviteToOwnChannel(widget:getText()) end)
|
||||||
menu:addOption(tr('Exclude from private chat'), function() g_game.excludeFromOwnChannel(creatureName) end)
|
menu:addOption(tr('Exclude from private chat'), function() g_game.excludeFromOwnChannel(widget:getText()) end)
|
||||||
end
|
end
|
||||||
|
|
||||||
if not isHiddingOffline() then
|
if not isHiddingOffline() then
|
||||||
|
|
Loading…
Reference in New Issue