summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wx/export_dialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/export_dialog.cc b/src/wx/export_dialog.cc
index 9f6207e66..4661e5468 100644
--- a/src/wx/export_dialog.cc
+++ b/src/wx/export_dialog.cc
@@ -101,5 +101,5 @@ void
ExportDialog::file_changed ()
{
wxButton* ok = dynamic_cast<wxButton *> (FindWindowById (wxID_OK, this));
- ok->Enable (true);
+ ok->Enable (_file->GetPath().Length() > 0);
}