|
|
|
@ -221,10 +221,14 @@ public class DesignerFrameFileDealerPane extends JPanel implements FileToolbarSt
|
|
|
|
|
if (success) { |
|
|
|
|
FileNode fileNode = TemplateTreePane.getInstance().getFileNode(); |
|
|
|
|
refreshRightToolBarBy(fileNode); |
|
|
|
|
TemplateTreePane.getInstance().refresh(); |
|
|
|
|
} else { |
|
|
|
|
FineJOptionPane.showMessageDialog(DesignerContext.getDesignerFrame(), |
|
|
|
|
Toolkit.i18nText("Fine-Design_Template_Unlock_Failed"), |
|
|
|
|
Toolkit.i18nText("Fine-Design_Basic_Alert"), |
|
|
|
|
JOptionPane.WARNING_MESSAGE); |
|
|
|
|
FineLoggerFactory.getLogger().error("Unlock {} failed", path); |
|
|
|
|
} |
|
|
|
|
TemplateTreePane.getInstance().refresh(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|