QTfrontend/ui/page/pagedrawmap.cpp
changeset 6781 23f627ba8ee9
parent 6700 e04da46ee43c
child 6873 30840365af0a
equal deleted inserted replaced
6780:166ee5275915 6781:23f627ba8ee9
    60         drawMapWidget->load(fileName);
    60         drawMapWidget->load(fileName);
    61 }
    61 }
    62 
    62 
    63 void PageDrawMap::save()
    63 void PageDrawMap::save()
    64 {
    64 {
    65     QString fileName = QFileDialog::getSaveFileName(NULL, tr("Save drawn map"), ".", tr("Drawn Maps") + " (*.hwmap);;" + tr("All files") + " (*)");
    65     QString fileName = QFileDialog::getSaveFileName(NULL, tr("Save drawn map"), "./map.hwmap", tr("Drawn Maps") + " (*.hwmap);;" + tr("All files") + " (*)");
    66 
    66 
    67     if(!fileName.isEmpty())
    67     if(!fileName.isEmpty())
    68         drawMapWidget->save(fileName);
    68         drawMapWidget->save(fileName);
    69 }
    69 }