[Kstars-devel] branches/kstars/summer/kstars/kstars/tools
Prakash Mohan
prak902000 at gmail.com
Thu Jun 18 23:49:07 CEST 2009
SVN commit 983730 by prakash:
Fixing a bug in the ObservingList which erased the TimeHash values everytime slotUpdate() was called.
CCMAIL: kstars-devel at kde.org
M +3 -2 observinglist.cpp
--- branches/kstars/summer/kstars/kstars/tools/observinglist.cpp #983729:983730
@@ -364,7 +364,8 @@
}
}
}
- TimeHash.remove( o->name() );
+ if( ! update )
+ TimeHash.remove( o->name() );
SessionList().removeAt(k);//Remove from the session list
if ( ! isModified ) isModified = true;//Removing an object should trigger the modified flag
ui->View->removeAllPlotObjects();
@@ -1155,7 +1156,7 @@
}
foreach ( SkyObject *obj, _SessionList ) {
if( obj->name() != "star" ) {
- slotRemoveObject( obj, true );
+ slotRemoveObject( obj, true, true );
slotAddObject( obj, true, true );
}
}
More information about the Kstars-devel
mailing list