summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wx/kdm_dialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/kdm_dialog.cc b/src/wx/kdm_dialog.cc
index 0336d0cb7..5fb031324 100644
--- a/src/wx/kdm_dialog.cc
+++ b/src/wx/kdm_dialog.cc
@@ -222,7 +222,7 @@ KDMDialog::setup_sensitivity ()
_remove_screen->Enable (ss);
wxButton* ok = dynamic_cast<wxButton *> (FindWindowById (wxID_OK));
- ok->Enable ((sc || ss) && sd);
+ ok->Enable ((selected_cinemas().size() > 0 || selected_screens().size() > 0) && sd);
_folder->Enable (_write_to->GetValue ());
}