Mercurial > clickerconvert
diff src/main.cpp @ 60:82d38421fdf3 1.1
Fix file name defaults and xlsx extension
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 09 Aug 2016 10:39:19 +0200 |
parents | 263880612637 |
children |
line wrap: on
line diff
--- a/src/main.cpp Tue Aug 09 10:38:43 2016 +0200 +++ b/src/main.cpp Tue Aug 09 10:39:19 2016 +0200 @@ -149,7 +149,9 @@ if (outputs.isEmpty() || title.isEmpty()) { mainWin = new MainWindow(); mainWin->setTitle(title); - mainWin->setInputFile(infile); + if (!infile.isEmpty()) { + mainWin->setInputFile(infile); + } mainWin->show(); app.exec(); delete mainWin;