fix logic problem in setting Presentation

presentation
Peter Klausing 7 years ago
parent 3aa95bda3f
commit abd0dc8368
  1. 3
      src/control/Control.cpp

@ -1552,9 +1552,10 @@ void Control::setViewPresentationMode(bool enabled)
if(enabled)
{
bool success = zoom->updateZoomPresentationValue();
if (success)
if (!success)
{
//TODO: Errormessage if the zoom could not be calculated
fireActionSelected(GROUP_PRESENTATION_MODE, ACTION_NOT_SELECTED);
return;
}
}

Loading…
Cancel
Save