diff --git a/include/mask.cpp b/include/mask.cpp index 1c4611093..4b6ec7658 100755 --- a/include/mask.cpp +++ b/include/mask.cpp @@ -853,9 +853,9 @@ int TMask::find_first_field(WINDOW w, int dir) const bool TMask::check_current_page() { + if (!test_focus_change()) + return FALSE; /* - if (!test_focus_change()) - return FALSE; if (sheets() > 0) return TRUE;