Skip to content

Commit

Permalink
Some minor cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Dec 10, 2019
1 parent 48cae8d commit c744514
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/misc/opensimulation.cpp.inl
Expand Up @@ -2,7 +2,7 @@ static PyObject * openSimulation(PyObject *pSelf, PyObject *pArgs)
{
Q_UNUSED(pSelf)

// Open a simulation
// Retrieve the file name of the simulation to open

PyObject *bytes;

Expand All @@ -26,6 +26,8 @@ static PyObject * openSimulation(PyObject *pSelf, PyObject *pArgs)
Py_DECREF(bytes);
#include "pythonend.h"

// Open the simulation

QString error = isLocalFile?
#ifdef GUI_SUPPORT
Core::guiOpenFile(fileNameOrUrl,
Expand Down

0 comments on commit c744514

Please sign in to comment.