diff --git a/src/com/jpexs/decompiler/flash/gui/MainFrameRibbonMenu.java b/src/com/jpexs/decompiler/flash/gui/MainFrameRibbonMenu.java index dc199dc47..f75089beb 100644 --- a/src/com/jpexs/decompiler/flash/gui/MainFrameRibbonMenu.java +++ b/src/com/jpexs/decompiler/flash/gui/MainFrameRibbonMenu.java @@ -608,6 +608,16 @@ public class MainFrameRibbonMenu extends MainFrameMenu { Object o = menuItems.get(path); if (o instanceof RibbonTask) { if (menuOptional.get(path)) { + View.execInEventDispatch(new Runnable() { + + @Override + public void run() { + if (!ribbon.isVisible(optinalGroups.get(path))) { + ribbon.setVisible(optinalGroups.get(path), true); + } + ribbon.setSelectedTask((RibbonTask) o); + } + }); return; } final RibbonTask rt = (RibbonTask) o; diff --git a/src/com/jpexs/decompiler/flash/gui/locales/MainFrame.properties b/src/com/jpexs/decompiler/flash/gui/locales/MainFrame.properties index 7f7ca7d2a..f8039e4ec 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/MainFrame.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/MainFrame.properties @@ -675,7 +675,7 @@ work.running = Running work.debugging = Debugging work.debugging.instrumenting = Preparing SWF for debugging work.breakat = Breat at\u0020 -work.halted = Run halted. Press Continue (F5) to run again +work.halted = Debugging started, execution halted. Add breakpoints and click Continue (F5) to resume running. debuglog.header = Log debuglog.button.clear = Clear \ No newline at end of file diff --git a/src/com/jpexs/decompiler/flash/gui/locales/MainFrame_cs.properties b/src/com/jpexs/decompiler/flash/gui/locales/MainFrame_cs.properties index 85f3a1e5d..98b216223 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/MainFrame_cs.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/MainFrame_cs.properties @@ -675,4 +675,4 @@ work.running = B\u011bh work.debugging = Lad\u011bn\u00ed work.debugging.instrumenting = P\u0159\u00edprava SWF pro lad\u011bn\u00ed work.breakat = Pozastaveno na \u0020 -work.halted = B\u011bh pozastaven. Pro dal\u0161\u00ed b\u011bh stiskn\u011bte Pokra\u010dov\u00e1n\u00ed (F5) \ No newline at end of file +work.halted = Lad\u011bn\u00ed za\u010dalo, b\u011bh je nyn\u00ed pozastaven. P\u0159idejte breakpointy a klikn\u011bte na Pokra\u010dovat (F5) pro obnoven\u00ed b\u011bhu. \ No newline at end of file