projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b32d2c0
)
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:34:06 +0000
(22:34 +0000)
src/wx/export_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/export_dialog.cc
b/src/wx/export_dialog.cc
index 9f6207e660e98429361691ed1a99840680c4c8ce..4661e54682dd2b6d25028c01e3923d0122bb8398 100644
(file)
--- 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
);
}