projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ee50dc
)
Don't enable the export OK button if we change format but have still not set an outpu...
author
Carl Hetherington
<cth@carlh.net>
Tue, 29 Jan 2019 22:20:34 +0000
(22:20 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 29 Jan 2019 22:20:34 +0000
(22:20 +0000)
src/wx/export_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/export_dialog.cc
b/src/wx/export_dialog.cc
index 68d3706ff7f4b48725535da50951555964348551..cb9127a57585422b7948cbc7e2c5930fae92ac87 100644
(file)
--- 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
);
}