Skip to content

Commit

Permalink
Fixes #309
Browse files Browse the repository at this point in the history
  • Loading branch information
djcomlab committed Feb 2, 2017
1 parent 7d146e3 commit c7806f3
Showing 1 changed file with 13 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -364,13 +364,19 @@ public void run() {
}

if (fileToMapFSP.notEmpty()) {
previousPage.push(new HistoryComponent(finalLayout, listeners));
statusLab.setText("");
SwingUtilities.invokeLater(new Runnable() {
public void run() {
setCurrentPage(createAssayUsedPanel(fileToMapFSP.getSelectedFilePath()));
}
});
if (fileToMapFSP.getSelectedFilePath().contains("&")) {
statusLab.setText("<html>filename of file to map must not contain special characters such as &, please select a different file or rename it...</html>");
setCurrentPage(lastPage);
return;
} else{
previousPage.push(new HistoryComponent(finalLayout, listeners));
statusLab.setText("");
SwingUtilities.invokeLater(new Runnable() {
public void run() {
setCurrentPage(createAssayUsedPanel(fileToMapFSP.getSelectedFilePath()));
}
});
}
} else {
statusLab.setText("<html>please <strong>select</strong> a file to map!</html>");
setCurrentPage(lastPage);
Expand Down

0 comments on commit c7806f3

Please sign in to comment.