Skip to content

Commit

Permalink
Add default parameters to validation indicators
Browse files Browse the repository at this point in the history
Refs #10903
  • Loading branch information
DanNixon committed Mar 26, 2015
1 parent 96dceb1 commit 46b07f6
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -54,9 +54,9 @@ namespace MantidQt
UserInputValidator();

/// Check that the given QLineEdit field is not empty.
bool checkFieldIsNotEmpty(const QString & name, QLineEdit * field, QLabel * errorLabel);
bool checkFieldIsNotEmpty(const QString & name, QLineEdit * field, QLabel * errorLabel = NULL);
/// Check that the given QLineEdit field is valid as per any validators it might have.
bool checkFieldIsValid(const QString & errorMessage, QLineEdit * field, QLabel * errorLabel);
bool checkFieldIsValid(const QString & errorMessage, QLineEdit * field, QLabel * errorLabel = NULL);
/// Check that the given WorkspaceSelector is not empty.
bool checkWorkspaceSelectorIsNotEmpty(const QString & name, WorkspaceSelector * workspaceSelector);
/// Check that the given MWRunFiles widget has valid files.
Expand Down

0 comments on commit 46b07f6

Please sign in to comment.