Fix bug: autocrop toggle didn't work.

This commit is contained in:
Johns 2012-04-15 23:03:40 +02:00
parent 80db7c6656
commit c9ef8b759a

View File

@ -1039,7 +1039,7 @@ static void HandleHotkey(int code)
Skins.QueueMessage(mtInfo, tr("auto-crop enabled"));
break;
case 25: // toggle auto-crop
ConfigAutoCropEnabled ^= 1;
ConfigAutoCropEnabled = !ConfigAutoCropEnabled;
// no interval configured, use some default
if (!ConfigAutoCropInterval) {
ConfigAutoCropInterval = 50;