Resolves issues 0013, 0022, and 0019.
0013: Hide a new issue after a delay if does not match the viewing criteria. 0022: New 'Bugs' created are not correctly categorized. 0019: Add the ability to change the Issue text size.
This commit is contained in:
@ -14,9 +14,13 @@ class NewIssueDialogController {
|
||||
|
||||
def show = {
|
||||
view.titleTextField.text = ""
|
||||
model.text = ""
|
||||
view.categoryComboBox.selectedItem = Category.BUG
|
||||
model.category = Category.BUG
|
||||
view.statusComboBox.selectedItem = Status.NEW
|
||||
model.status = Status.NEW
|
||||
view.prioritySpinner.setValue(5)
|
||||
model.priority = 5
|
||||
view.dialog.visible = true
|
||||
}
|
||||
}
|
||||
|
@ -40,6 +40,12 @@ class ProjectPanelController {
|
||||
|
||||
void displayIssue(Issue issue) {
|
||||
if (!issue) return
|
||||
|
||||
// hack because binding view.issueTextArea.font to
|
||||
// mainMVC.mode.issueDetailFont causes problems
|
||||
if (view.issueTextArea.font != model.mainMVC.model.issueDetailFont)
|
||||
view.issueTextArea.font = model.mainMVC.model.issueDetailFont
|
||||
|
||||
view.issueTextArea.text = issue.text
|
||||
view.issueTextArea.caretPosition = 0
|
||||
}
|
||||
|
Reference in New Issue
Block a user