mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EDU-692 Change default selected option and task name in "Create new task" dialog
This commit is contained in:
+2
-1
@@ -13,7 +13,8 @@ public class CCCreateStudyItemPanel extends JPanel {
|
||||
public CCCreateStudyItemPanel(String itemName, String thresholdName, int thresholdIndex) {
|
||||
myThresholdName = thresholdName;
|
||||
myItemName = itemName;
|
||||
myNameField.setText(itemName + thresholdIndex);
|
||||
int newIndex = thresholdIndex + 1;
|
||||
myNameField.setText(itemName + newIndex);
|
||||
add(myPanel, BorderLayout.CENTER);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ public class CCItemPositionPanel extends JPanel {
|
||||
group.add(myAfterButton);
|
||||
myBeforeButton.setText("before " + postfix);
|
||||
myAfterButton.setText("after " + postfix);
|
||||
myBeforeButton.setSelected(true);
|
||||
myAfterButton.setSelected(true);
|
||||
}
|
||||
|
||||
public int getIndexDelta() {
|
||||
|
||||
Reference in New Issue
Block a user