Ticket #593: mythvideo-upfix.patch

File mythvideo-upfix.patch, 621 bytes (added by mythtv@…, 20 years ago)

proposed patch

  • mythvideo/mythvideo/videogallery.cpp

     
    171171        if (upnode && upnode->getInt() == UP_FOLDER)
    172172            where_we_are->removeNode(upnode);
    173173        if (where_we_are->childCount() > 1)
     174        {
     175            video_tree_root = where_we_are;
    174176            where_we_are = where_we_are->getChildAt(0,0);
     177        }
    175178        // else { we have an empty tree! }
    176179    }
    177180    int list_count = where_we_are->siblingCount();