Commit 7de01624 authored by Jan Möbius's avatar Jan Möbius

Dennis: Save-bounding-box-options-on-exit

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6138 383ad7c9-94d9-4d36-a494-682f7c89f535
parent bcdf8551
......@@ -748,7 +748,11 @@ void DataControlPlugin::updateBoundingBox(BaseObjectData* _obj)
* @param _ini reference to ini file
*/
void DataControlPlugin::saveOnExit(INIFile& _ini){
if ( !_ini.section_exists( "BoundingBox" ) )
_ini.add_section("BoundingBox");
_ini.add_entry("BoundingBox","notSelected",tool_->notSelected->isChecked ());
_ini.add_entry("BoundingBox","sourceSelected",tool_->sourceSelected->isChecked ());
_ini.add_entry("BoundingBox","targetSelected",tool_->targetSelected->isChecked ());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment