mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-28 01:30:45 +00:00
Option to automatically show error dialog on every error
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.gui;
|
||||
|
||||
import com.jpexs.decompiler.flash.configuration.Configuration;
|
||||
import com.jpexs.helpers.Helper;
|
||||
import java.awt.BorderLayout;
|
||||
import java.awt.Color;
|
||||
@@ -319,6 +320,10 @@ public class ErrorLogFrame extends AppFrame {
|
||||
ex.printStackTrace(new PrintWriter(sw));
|
||||
}
|
||||
log(level, msg, sw.toString());
|
||||
|
||||
if (!this.isVisible() && Configuration.showDialogOnError.get()) {
|
||||
setVisible(true);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -537,3 +537,6 @@ config.description.autoCloseBrackets = Automatically inserts closing bracket ] o
|
||||
|
||||
config.name.autoCloseParenthesis = Auto close parenthesis on script edit
|
||||
config.description.autoCloseParenthesis = Automatically inserts closing parenthesis ) on typing opening (
|
||||
|
||||
config.name.showDialogOnError = Show error dialog on every error
|
||||
config.description.showDialogOnError = Automatically displays error dialog on every error occurrence
|
||||
|
||||
@@ -528,4 +528,7 @@ config.name.autoCloseBrackets = Automaticky uzav\u00edrat hranat\u00e9 z\u00e1vo
|
||||
config.description.autoCloseBrackets = Automaticky vlo\u017e\u00ed uzav\u00edrac\u00ed hranatou z\u00e1vorku ] p\u0159i naps\u00e1n\u00ed otev\u00edrac\u00ed [
|
||||
|
||||
config.name.autoCloseParenthesis = Automaticky uzav\u00edrat kulat\u00e9 z\u00e1vorky p\u0159i editov\u00e1n\u00ed skriptu
|
||||
config.description.autoCloseParenthesis = Automaticky vlo\u017e\u00ed uzav\u00edrac\u00ed kulatou z\u00e1vorku ) p\u0159i naps\u00e1n\u00ed otev\u00edrac\u00ed (
|
||||
config.description.autoCloseParenthesis = Automaticky vlo\u017e\u00ed uzav\u00edrac\u00ed kulatou z\u00e1vorku ) p\u0159i naps\u00e1n\u00ed otev\u00edrac\u00ed (
|
||||
|
||||
config.name.showDialogOnError = Zobrazit dialog s chybami p\u0159i ka\u017ed\u00e9 chyb\u011b
|
||||
config.description.showDialogOnError = Automaticky zobaz\u00ed chybov\u00fd dialog p\u0159i ka\u017ed\u00e9m v\u00fdskytu chyby
|
||||
|
||||
Reference in New Issue
Block a user