|
|
|
@ -337,8 +337,8 @@ public class MainDesigner extends BaseDesigner {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private UICombinationButton createRunButton() { |
|
|
|
|
run = new UICombinationButton(new UISaveForbiddenButton(Toolkit.i18nText("Fine-Design_Basic_Preview"), new LazyIcon("run").white()), |
|
|
|
|
new UISaveForbiddenButton(new LazyIcon("triangle_down").white())); |
|
|
|
|
run = new UICombinationButton(new UIButton(Toolkit.i18nText("Fine-Design_Basic_Preview"), new LazyIcon("run").white()), |
|
|
|
|
new UIButton(new LazyIcon("triangle_down").white())); |
|
|
|
|
run.addLeftClickLister(mouseEvent -> { |
|
|
|
|
JTemplate<?, ?> jt = HistoryTemplateListCache.getInstance().getCurrentEditingTemplate(); |
|
|
|
|
if (jt == null || jt.isSaving()) { |
|
|
|
|