Remove erroneous exclamation mark

This commit is contained in:
Zach Fox 2016-11-03 11:10:32 -07:00
parent b74c1d3476
commit e9e1d0cb2f

View file

@ -71,7 +71,7 @@ void setupPreferences() {
// UI
{
auto getter = []()->bool { return qApp->getSettingConstrainToolbarPosition(); };
auto setter = [](bool value) { qApp->setSettingConstrainToolbarPosition(!value); };
auto setter = [](bool value) { qApp->setSettingConstrainToolbarPosition(value); };
preferences->addPreference(new CheckPreference("UI", "Constrain Toolbar Position to Horizontal Center", getter, setter));
}