summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 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);
}