Changeset 741

Show
Ignore:
Timestamp:
01/26/09 21:57:58 (4 years ago)
Author:
mauser
Message:

Bug for #69: H2 checks if the "name" field is empty when saving a soundlibrary

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gui/src/SoundLibrary/SoundLibrarySaveDialog.cpp

    r179 r741  
    4949{ 
    5050        INFOLOG( "!!!" ); 
     51 
     52        if(nameTxt->text() == ""){ 
     53                        QMessageBox::information( this, "Hydrogen", trUtf8 ( "Please supply at least a valid name")); 
     54                        return; 
     55        } 
     56 
    5157        H2Core::Drumkit::save( 
    5258                        nameTxt->text(),