Bugfix: Don't check for changes if file, if map was closed already release-1-12-maintained
authorinsilmaril
Tue Mar 10 12:46:48 2009 +0000 (2009-03-10)
branchrelease-1-12-maintained
changeset 6050c2fb829193
parent 59 1c550f80c43b
child 61 bd98be838da9
Bugfix: Don't check for changes if file, if map was closed already
mapeditor.cpp
tex/vym.changelog
     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  
     2.1 --- a/tex/vym.changelog	Tue Mar 10 11:27:17 2009 +0000
     2.2 +++ b/tex/vym.changelog	Tue Mar 10 12:46:48 2009 +0000
     2.3 @@ -1,3 +1,8 @@
     2.4 +-------------------------------------------------------------------
     2.5 +Tue Mar 10 13:46:12 CET 2009 - uwedr@suse.de
     2.6 +
     2.7 +- Bugfix: Don't check for changes if file, if map was closed already 
     2.8 +
     2.9  -------------------------------------------------------------------
    2.10  Tue Mar 10 12:23:21 CET 2009 - uwedr@suse.de
    2.11