diff --git a/src/gtk/windowcallbacks.cpp b/src/gtk/windowcallbacks.cpp index 121a2adc..bf85ea0e 100644 --- a/src/gtk/windowcallbacks.cpp +++ b/src/gtk/windowcallbacks.cpp @@ -890,9 +890,9 @@ void Window::vOnJoypadToggled(Gtk::CheckMenuItem * _poCMI, EPad _eJoypad) void Window::vOnAutofireToggled(Gtk::CheckMenuItem * _poCMI, EKey _eKey) { - if (_poCMI->get_active() != inputGetAutoFire(_eKey)) + if (_poCMI->get_active() == inputGetAutoFire(_eKey)) { - //inputToggleAutoFire(_eKey); + inputToggleAutoFire(_eKey); } std::string sKey;