Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
CGoGN
CGoGN
Commits
db28963b
Commit
db28963b
authored
Mar 25, 2015
by
Sylvain Thery
Committed by
Pierre Kraemer
Apr 01, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tested on mac
parent
ac39444a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
SCHNApps/include/plugin.h
SCHNApps/include/plugin.h
+1
-0
SCHNApps/src/schnapps.cpp
SCHNApps/src/schnapps.cpp
+3
-2
No files found.
SCHNApps/include/plugin.h
View file @
db28963b
...
...
@@ -7,6 +7,7 @@
#include "types.h"
#include "schnapps.h"
#include "dll.h"
...
...
SCHNApps/src/schnapps.cpp
View file @
db28963b
...
...
@@ -38,10 +38,11 @@ namespace SCHNApps
SCHNApps
::
SCHNApps
(
const
QString
&
appPath
,
PythonQtObjectPtr
&
pythonContext
,
PythonQtScriptingConsole
&
pythonConsole
)
:
QMainWindow
(),
m_pyRecording
(
NULL
),
m_pyRecFile
(
NULL
),
m_appPath
(
appPath
),
m_pythonContext
(
pythonContext
),
m_pythonConsole
(
pythonConsole
),
m_pyRecording
(
NULL
),
m_firstView
(
NULL
),
m_selectedView
(
NULL
)
{
...
...
@@ -888,7 +889,7 @@ void SCHNApps::appendPyRecording()
return
;
}
QString
fileName
=
QFileDialog
::
getSaveFileName
(
this
,
"
Save
python script"
,
this
->
getAppPath
(),
" python script (*.py)"
);
QString
fileName
=
QFileDialog
::
getSaveFileName
(
this
,
"
Append
python script"
,
this
->
getAppPath
(),
" python script (*.py)"
);
if
(
fileName
.
size
()
!=
0
)
{
m_pyRecFile
=
new
QFile
(
fileName
);
...
...
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