~ubuntu-branches/ubuntu/vivid/regina-normal/vivid

« back to all changes in this revision

Viewing changes to qtui/src/pythonmanager.cpp

  • Committer: Package Import Robot
  • Author(s): Ben Burton
  • Date: 2012-05-29 08:46:45 UTC
  • mfrom: (1.2.6)
  • Revision ID: package-import@ubuntu.com-20120529084645-ngrfs6rqtrwklrue
Tags: 4.93-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
    // Initialise the python interpreter.
87
87
    if (ans->importRegina()) {
88
88
        ans->executeLine("print regina.welcome() + '\\n'");
89
 
 
90
 
        if (tree)
91
 
            ans->setRootPacket(tree);
92
 
        if (selectedPacket)
93
 
            ans->setSelectedPacket(selectedPacket);
 
89
        ans->setRootPacket(tree);
 
90
        ans->setSelectedPacket(selectedPacket);
94
91
    }
95
92
    ans->loadAllLibraries();
96
93