mapeditor.cpp
branchrelease-1-12-maintained
changeset 60 50c2fb829193
parent 59 1c550f80c43b
child 62 85683324f94a
     1.1 --- a/mapeditor.cpp	Tue Mar 10 11:27:17 2009 +0000
     1.2 +++ b/mapeditor.cpp	Tue Mar 10 12:46:48 2009 +0000
     1.3 @@ -1489,7 +1489,10 @@
     1.4  void MapEditor::setChanged()
     1.5  {
     1.6  	if (!mapChanged)
     1.7 +	{
     1.8  		autosaveTimer->start(settings.value("/mapeditor/autosave/ms/",300000).toInt());
     1.9 +		fileChangedTimer->start (3000);
    1.10 +	}	
    1.11  	mapChanged=true;
    1.12  	mapDefault=false;
    1.13  	mapUnsaved=true;
    1.14 @@ -2172,6 +2175,7 @@
    1.15  	//cout << "ME::clear() "<<mapName.toStdString()<<endl;
    1.16  	xelection.clear();
    1.17  	autosaveTimer->stop();
    1.18 +	fileChangedTimer->stop();
    1.19  	model->clear();
    1.20  }
    1.21