mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 18:50:47 +00:00
Fixed: Improper initialization of ActiveX component when Flash not available causing FFDec not start
This commit is contained in:
@@ -53,10 +53,13 @@ public final class MainFrameRibbon extends AppRibbonFrame {
|
||||
FlashPlayerPanel flashPanel = null;
|
||||
FlashPlayerPanel flashPanel2 = null;
|
||||
|
||||
try {
|
||||
flashPanel = new FlashPlayerPanel(this);
|
||||
flashPanel2 = new FlashPlayerPanel(this);
|
||||
} catch (FlashUnsupportedException fue) {
|
||||
if (Configuration.useAdobeFlashPlayerForPreviews.get()) {
|
||||
try {
|
||||
flashPanel = new FlashPlayerPanel(this);
|
||||
flashPanel2 = new FlashPlayerPanel(this);
|
||||
} catch (FlashUnsupportedException fue) {
|
||||
//ignored
|
||||
}
|
||||
}
|
||||
|
||||
Container cnt = getContentPane();
|
||||
|
||||
Reference in New Issue
Block a user