Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenFlipper
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
470f345e
Commit
470f345e
authored
Feb 05, 2019
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build without python support
parent
34ffc272
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
widgets/pythonWidget/pythonWidget.cc
widgets/pythonWidget/pythonWidget.cc
+3
-1
No files found.
widgets/pythonWidget/pythonWidget.cc
View file @
470f345e
...
...
@@ -50,6 +50,7 @@
#include "pythonWidget.hh"
#include "PythonSyntaxHighlighter.hh"
#include <OpenFlipper/common/GlobalOptions.hh>
#include <OpenFlipper/BasePlugin/PythonFunctionsCore.hh>
#include <iostream>
#include <QObject>
...
...
@@ -79,6 +80,7 @@ PythonWidget::PythonWidget(QWidget *parent )
connect
(
closeButton
,
SIGNAL
(
clicked
()
)
,
this
,
SLOT
(
hide
())
);
closeButton
->
setFocus
();
#ifdef PYTHON_ENABLED
pythonInfo
->
setAlignment
(
Qt
::
AlignLeft
);
pythonInfo
->
append
(
"Plugins with Python support (use import to load the corresponding module!):
\n
"
);
...
...
@@ -104,7 +106,7 @@ PythonWidget::PythonWidget(QWidget *parent )
edit
->
setHtml
(
data
);
}
#endif
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment