Issue #2312 Fix file dialog input on export image dialog.

Former-commit-id: e1dc75f97a [formerly 3742e480c1551b8870a6ac719b87b1e4b3c98d2a]
Former-commit-id: 6d0a78e233
This commit is contained in:
Ben Steffensmeier 2014-02-26 14:57:46 -06:00
parent b4b6cb655e
commit 2d11421854

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);
}
}