mpxplugins/viewplugins/views/metadataeditordialog/src/mpxmetadataeditordialog.cpp
changeset 1 8118492f1bdf
parent 0 ff3acec5bc43
child 2 b70d77332e66
equal deleted inserted replaced
0:ff3acec5bc43 1:8118492f1bdf
  2060                         }
  2060                         }
  2061                     }
  2061                     }
  2062                 else
  2062                 else
  2063                     {
  2063                     {
  2064                     // Text query cancelled.  Display popup list again.
  2064                     // Text query cancelled.  Display popup list again.
  2065                     iTextValues->SetCurrentValueIndex( 0 );
       
  2066                     iPopup->ActivateSelectionListL();
  2065                     iPopup->ActivateSelectionListL();
  2067                     // genre is fetched so that "Custom..." isn't passed as the new genre
  2066                     
  2068                     FetchGenreL();
  2067                     // reset to original index
       
  2068                     TInt genreIndex;
       
  2069                     iGenreArr->Find( iMedia->ValueText( KMPXMediaMusicGenre ), genreIndex );
       
  2070                     iTextValues->SetCurrentValueIndex( genreIndex );
  2069                     }
  2071                     }
  2070                 CleanupStack::PopAndDestroy( genreName );
  2072                 CleanupStack::PopAndDestroy( genreName );
  2071                 }
  2073                 }
  2072             else
  2074             else
  2073                 {
  2075                 {