Skip to content

Commit

Permalink
Fix for python console not opening - this was due previous compilatio…
Browse files Browse the repository at this point in the history
…n without

Python support and #ifdeffed slot was not generated.


git-svn-id: http://svn.osgeo.org/qgis/trunk@6642 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Feb 20, 2007
1 parent aad13d1 commit b470a8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -770,14 +770,14 @@ void QgisApp::createActions()
#endif
}

#ifdef HAVE_PYTHON
void QgisApp::showPythonDialog()
{
#ifdef HAVE_PYTHON
if (mPythonConsole == NULL)
mPythonConsole = new QgsPythonDialog(mQgisInterface);
mPythonConsole->show();
}
#endif
}

void QgisApp::createActionGroups()
{
Expand Down
2 changes: 0 additions & 2 deletions src/app/qgisapp.h
Original file line number Diff line number Diff line change
Expand Up @@ -341,10 +341,8 @@ public slots:
//! show the attribute table for the currently selected layer
void attributeTable();

#ifdef HAVE_PYTHON
//! show python console
void showPythonDialog();
#endif

//! cuts selected features on the active layer to the clipboard
/**
Expand Down

0 comments on commit b470a8e

Please sign in to comment.