Default name for pattern.
--HG-- branch : develop
This commit is contained in:
parent
110ad09b21
commit
4499838b97
|
@ -1009,7 +1009,8 @@ void MainWindow::ActionDetails(bool checked)
|
||||||
void MainWindow::ActionSaveAs()
|
void MainWindow::ActionSaveAs()
|
||||||
{
|
{
|
||||||
QString filters(tr("Pattern files (*.val)"));
|
QString filters(tr("Pattern files (*.val)"));
|
||||||
QString fName = QFileDialog::getSaveFileName(this, tr("Save as"), QDir::homePath(), filters);
|
QString dir = QDir::homePath() + tr("/pattern.val");
|
||||||
|
QString fName = QFileDialog::getSaveFileName(this, tr("Save as"), dir, filters);
|
||||||
|
|
||||||
if (fName.isEmpty())
|
if (fName.isEmpty())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user