Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
derreisende77 committed Oct 26, 2024
1 parent 3c37009 commit 32cb5c1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/main/java/mediathek/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -311,10 +311,12 @@ private static void checkJVMSettings() {
}

if (!correctParameters) {
//show error dialog
logger.warn("Detected incorrect JVM parameters! Please modify your settings");
JOptionPane.showMessageDialog(null,getJvmErrorMessageString(), Konstanten.PROGRAMMNAME,
JOptionPane.WARNING_MESSAGE);
if (!Config.isDebugModeEnabled()) {
//show error dialog
JOptionPane.showMessageDialog(null, getJvmErrorMessageString(), Konstanten.PROGRAMMNAME,
JOptionPane.WARNING_MESSAGE);
}
}
}

Expand Down

0 comments on commit 32cb5c1

Please sign in to comment.