File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -770,14 +770,14 @@ void QgisApp::createActions()
770
770
#endif
771
771
}
772
772
773
- #ifdef HAVE_PYTHON
774
773
void QgisApp::showPythonDialog ()
775
774
{
775
+ #ifdef HAVE_PYTHON
776
776
if (mPythonConsole == NULL )
777
777
mPythonConsole = new QgsPythonDialog (mQgisInterface );
778
778
mPythonConsole ->show ();
779
- }
780
779
#endif
780
+ }
781
781
782
782
void QgisApp::createActionGroups ()
783
783
{
Original file line number Diff line number Diff line change @@ -341,10 +341,8 @@ public slots:
341
341
// ! show the attribute table for the currently selected layer
342
342
void attributeTable ();
343
343
344
- #ifdef HAVE_PYTHON
345
344
// ! show python console
346
345
void showPythonDialog ();
347
- #endif
348
346
349
347
// ! cuts selected features on the active layer to the clipboard
350
348
/* *
You can’t perform that action at this time.
0 commit comments