compose action

pull/53/head
Zlatin Balevsky 2020-11-04 21:15:51 +00:00
parent 60c90475b4
commit 5d7ccce8fc
No known key found for this signature in database
GPG Key ID: A72832072D525E41
2 changed files with 5 additions and 2 deletions

View File

@ -785,7 +785,10 @@ class MainFrameController {
@ControllerAction @ControllerAction
void messageCompose() { void messageCompose() {
def params = [:]
params.recipients = new HashSet<>()
params.core = core
mvcGroup.createMVCGroup("new-message", UUID.randomUUID().toString(), params)
} }
@ControllerAction @ControllerAction

View File

@ -719,7 +719,7 @@ class MainFrameView {
} }
} }
panel(constraints : BorderLayout.SOUTH) { panel(constraints : BorderLayout.SOUTH) {
button(text : trans("COMPOSE"), enabled : bind{model.messageButtonsEnabled}, messageComposeAction) button(text : trans("COMPOSE"), messageComposeAction)
button(text : trans("REPLY"), enabled : bind{model.messageButtonsEnabled}, messageReplyAction) button(text : trans("REPLY"), enabled : bind{model.messageButtonsEnabled}, messageReplyAction)
button(text : trans("DELETE"), enabled : bind{model.messageButtonsEnabled}, messageDeleteAction) button(text : trans("DELETE"), enabled : bind{model.messageButtonsEnabled}, messageDeleteAction)
} }