Commit 0087f11d authored by Elemer Lelik's avatar Elemer Lelik

Merge pull request #76 from balaskoa/master

sync->async + err. msg correction
parents 75c067ef e9729f52
......@@ -129,7 +129,7 @@ public final class ConfigEditor extends FormEditor implements IResourceChangeLis
if ( !CONFIG_EDITOR_TABS_VISIBLE ) {
return;
}
getSite().getShell().getDisplay().asyncExec(new Runnable() {
getSite().getShell().getDisplay().syncExec(new Runnable() {
@Override
public void run() {
mModuleParameterSectionEditor.refreshData( cfgAnalyzer.getModuleParametersHandler() );
......
......@@ -390,7 +390,11 @@ public final class ProjectConfigurationParser {
parentEditor.refresh(cfgAnalyzer);
parentEditor.setErrorMessage(null);
} else {
parentEditor.setErrorMessage("There were " + errorsStored.size() + " problems found while parsing");
if(errorsStored.size()>1) {
parentEditor.setErrorMessage("There were " + errorsStored.size() + " problems found while parsing");
} else {
parentEditor.setErrorMessage("There was 1 problem found while parsing");
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment