Fix typo.
authorCarl Hetherington <cth@carlh.net>
Tue, 24 Sep 2013 21:56:02 +0000 (22:56 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 24 Sep 2013 21:56:02 +0000 (22:56 +0100)
src/wx/kdm_dialog.cc

index f2fc537119850e2b9de8f282c836f72d50ff22d8..170a242d93efd842cb3aaaf7331bf48bccca2079 100644 (file)
@@ -181,7 +181,7 @@ KDMDialog::setup_sensitivity ()
        _remove_screen->Enable (ss);
 
        wxButton* ok = dynamic_cast<wxButton *> (FindWindowById (wxID_OK));
-       ok->Enable (sc || sc);
+       ok->Enable (sc || ss);
 }
 
 void