Skip to content

Commit e738478

Browse files
author
wonder
committedFeb 20, 2007
Fix for python console not opening - this was due previous compilation without
Python support and #ifdeffed slot was not generated. git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6642 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -770,14 +770,14 @@ void QgisApp::createActions()
770770
#endif
771771
}
772772

773-
#ifdef HAVE_PYTHON
774773
void QgisApp::showPythonDialog()
775774
{
775+
#ifdef HAVE_PYTHON
776776
if (mPythonConsole == NULL)
777777
mPythonConsole = new QgsPythonDialog(mQgisInterface);
778778
mPythonConsole->show();
779-
}
780779
#endif
780+
}
781781

782782
void QgisApp::createActionGroups()
783783
{

‎src/app/qgisapp.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,10 +341,8 @@ public slots:
341341
//! show the attribute table for the currently selected layer
342342
void attributeTable();
343343

344-
#ifdef HAVE_PYTHON
345344
//! show python console
346345
void showPythonDialog();
347-
#endif
348346

349347
//! cuts selected features on the active layer to the clipboard
350348
/**

0 commit comments

Comments
 (0)
Please sign in to comment.