Browse Source

REPORT-54277 消息推送-消息中心-看不到推送的消息

final/10.0
pengda 3 years ago
parent
commit
23d630e74b
  1. 4
      designer-base/src/main/java/com/fr/design/notification/ui/NotificationCenterDialog.java
  2. 2
      designer-base/src/main/java/com/fr/design/notification/ui/NotificationCenterPane.java

4
designer-base/src/main/java/com/fr/design/notification/ui/NotificationCenterDialog.java

@ -85,6 +85,10 @@ public class NotificationCenterDialog extends JDialog {
this.dispose();
}
public void showDialog() {
this.setVisible(true);
}
public void addNotification() {
notificationNeedShow.clear();

2
designer-base/src/main/java/com/fr/design/notification/ui/NotificationCenterPane.java

@ -29,7 +29,7 @@ public class NotificationCenterPane extends BasicPane {
@Override
public void mouseClicked(MouseEvent e) {
NotificationCenterDialog notificationCenterDialog = new NotificationCenterDialog(DesignerContext.getDesignerFrame());
notificationCenterDialog.setVisible(true);
notificationCenterDialog.showDialog();
}
});
this.setBackground(UIConstants.TEMPLATE_TAB_PANE_BACKGROUND);

Loading…
Cancel
Save