diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-01-29 22:20:34 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-01-29 22:20:34 +0000 |
| commit | 8a015999e89ccd7fba7f1025689979ce058783d2 (patch) | |
| tree | 4e5521aef4a88c7eb8f23f82ba108a3be2a9c0f5 | |
| parent | 8ee50dc38bd07e33464804cde321252ae2ebcd85 (diff) | |
Don't enable the export OK button if we change format but have still not set an output file.
| -rw-r--r-- | src/wx/export_dialog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/export_dialog.cc b/src/wx/export_dialog.cc index 68d3706ff..cb9127a57 100644 --- a/src/wx/export_dialog.cc +++ b/src/wx/export_dialog.cc @@ -143,5 +143,5 @@ void ExportDialog::file_changed () { wxButton* ok = dynamic_cast<wxButton *> (FindWindowById (wxID_OK, this)); - ok->Enable (true); + ok->Enable (_file->GetPath().Length() > 0); } |
