Version: 0.7.8 (using KDE KDE 3.5.3) OS: Linux When I cancel the save dialog of the board editor, I get the error message: "Only saving to local files currently supported." Maybe this is not what you want to tell the person cancelling this dialog.
SVN commit 552305 by aacid: Don't tell the user only saving to local medium is supported if he clicks cancel BUGS: 129284 M +1 -0 Editor.cpp --- branches/KDE/3.5/kdegames/kmahjongg/Editor.cpp #552304:552305 @@ -313,6 +313,7 @@ "*|All Files"), this, i18n("Save Board Layout" )); + if( url.isEmpty() ) return false; if( !url.isLocalFile() ) { KMessageBox::sorry( this, i18n( "Only saving to local files currently supported." ) );