~vcs-imports/stellarium/0.8

« back to all changes in this revision

Viewing changes to src/stel_ui.cpp

  • Committer: digitalises
  • Date: 2006-08-03 18:47:13 UTC
  • Revision ID: vcs-imports@canonical.com-20060803184713-9a0ced449fbc0fc6
Made planet trail flag code more encapsulated

Show diffs side-by-side

added added

removed removed

Lines of Context:
1108
1108
            else if( !core->getFlagPlanetsTrails())
1109
1109
            {
1110
1110
                app->commander->execute_command( "flag object_trails on");
1111
 
                core->startPlanetsTrails(true);
1112
1111
            }
1113
1112
            else
1114
1113
            {
1115
1114
                app->commander->execute_command( "flag object_trails off");
1116
 
                core->startPlanetsTrails(false);
1117
1115
                app->commander->execute_command( "flag ecliptic_line off");
1118
1116
            }
1119
1117
            break;