Ticket #8250: mythgallery-fix-jumppoint2.patch
File mythgallery-fix-jumppoint2.patch, 976 bytes (added by , 15 years ago) |
---|
-
mythgallery/mythgallery/iconview.cpp
old new 461 461 handled = false; 462 462 } 463 463 464 if (action == "ESCAPE") 465 handled = HandleEscape(); 464 if (action == "ESCAPE") 465 { 466 if (!GetMythMainWindow()->IsExitingToMain()) 467 { 468 handled = HandleEscape(); 469 } 470 else 471 { 472 while (true) 473 { 474 QDir currentDir(m_currDir); 475 QDir rootDir(m_galleryDir); 476 if (currentDir != rootDir) 477 HandleSubDirEscape(m_galleryDir); 478 else 479 break; 480 } 481 handled = HandleEscape(); 482 } 483 } 466 484 } 467 485 468 486 if (!handled && MythScreenType::keyPressEvent(event))