mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Changed extension for mapmap
This commit is contained in:
+2
-2
@@ -187,7 +187,7 @@ void MainWindow::open()
|
||||
if (okToContinue())
|
||||
{
|
||||
QString fileName = QFileDialog::getOpenFileName(this,
|
||||
tr("Open project"), ".", tr("MapMap files (*.lmp)"));
|
||||
tr("Open project"), ".", tr("MapMap files (*." MAPMAP_EXTENSION ")"));
|
||||
if (!fileName.isEmpty())
|
||||
loadFile(fileName);
|
||||
}
|
||||
@@ -210,7 +210,7 @@ bool MainWindow::saveAs()
|
||||
{
|
||||
// Popul file dialog to choose filename.
|
||||
QString fileName = QFileDialog::getSaveFileName(this, tr("Save project"),
|
||||
".", tr("MapMap files (*.lmp)"));
|
||||
".", tr("MapMap files (*." MAPMAP_EXTENSION ")"));
|
||||
if (fileName.isEmpty())
|
||||
return false;
|
||||
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
#include "qtgroupboxpropertybrowser.h"
|
||||
|
||||
#define MAPMAP_VERSION "0.0.9"
|
||||
#define MAPMAP_EXTENSION "mpm"
|
||||
|
||||
/**
|
||||
* This is the main window of MapMap. It acts as both a view and a controller interface.
|
||||
|
||||
Reference in New Issue
Block a user