Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/main/java/net/jacksum/gui/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ private void initParameters() {
// it to null, because we want to control verification mode at the GUI by command line args
// (at the file browser integration)
parametersFromProps.setCheckFile(null);
// make sure that the filenames to be checked are removed from a previous run
parametersFromProps.setFilenamesFromCheckFile(null);
parametersFromProps.getVerbose().setDefault();

// parametersFromProps.setParameterModifiedByAPI(true);
Expand Down Expand Up @@ -2325,6 +2327,11 @@ private void verificationPanel2Parameters() throws UserInputError {

// check file
parameters.setCheckFile(fileVerificationTextField.getText());

// make sure that the filenames are removed from a previous run after setting a new verification file
// or changing the content of the verification file (without restarting HashGarten)
parameters.setFilenamesFromCheckFile(null);

parameters.setCharsetCheckFile(fileVerificationCharacterSetComboBox.getSelectedItem().toString());

customStylePanel2parameters(
Expand Down