Merge "Issue #2312 Fix file dialog input on export image dialog." into development

Former-commit-id: d1ec11d932 [formerly 4c4325675377cd170468a0c3dbe4632f5330227e]
Former-commit-id: 71d494eb34
This commit is contained in:
Nate Jensen 2014-02-27 09:10:07 -06:00 committed by Gerrit Code Review
commit 414cc002b1

View file

@ -296,7 +296,7 @@ public class ImageExportDialog extends CaveSWTDialog {
fileDialog.setFilterExtensions(ext);
fileDialog.setFilterNames(names);
String path = fileDialog.open();
if (path == null) {
if (path != null) {
this.locationText.setText(path);
}
}