Proposed fix 710

This commit is contained in:
Dave French
2015-01-27 11:18:25 +00:00
parent cdf6b3e01f
commit 9b1e89ae21

View File

@@ -72,7 +72,7 @@ VersionedSaveDialog::VersionedSaveDialog( QWidget *parent,
bool VersionedSaveDialog::changeFileNameVersion(QString &fileName, bool increment )
{
static QRegExp regexp( "-\\d+(\\.\\w+)?$" );
static QRegExp regexp( "[- ]\\d+(\\.\\w+)?$" );
int idx = regexp.indexIn( fileName );
// For file names without extension (no ".mmpz")