Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
1e7e645a
Commit
1e7e645a
authored
Jan 29, 2013
by
Sebastian Eichelbaum
Browse files
[STYLE]
parent
931b4b25
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/qt4gui/WMainWindow.cpp
src/qt4gui/WMainWindow.cpp
+2
-2
No files found.
src/qt4gui/WMainWindow.cpp
View file @
1e7e645a
...
@@ -547,7 +547,7 @@ WQtNetworkEditor* WMainWindow::getNetworkEditor()
...
@@ -547,7 +547,7 @@ WQtNetworkEditor* WMainWindow::getNetworkEditor()
bool
WMainWindow
::
projectSave
(
const
std
::
vector
<
boost
::
shared_ptr
<
WProjectFileIO
>
>&
writer
)
bool
WMainWindow
::
projectSave
(
const
std
::
vector
<
boost
::
shared_ptr
<
WProjectFileIO
>
>&
writer
)
{
{
QString
lastPath
=
WQt4Gui
::
getSettings
().
value
(
"LastProjectSavePath"
,
""
).
toString
();
QString
lastPath
=
WQt4Gui
::
getSettings
().
value
(
"LastProjectSavePath"
,
""
).
toString
();
QString
selected
=
QFileDialog
::
getSaveFileName
(
this
,
"Save Project as"
,
lastPath
,
QString
selected
=
QFileDialog
::
getSaveFileName
(
this
,
"Save Project as"
,
lastPath
,
"Project File (*.owproj *.owp)"
);
"Project File (*.owproj *.owp)"
);
if
(
selected
==
""
)
if
(
selected
==
""
)
{
{
...
@@ -649,7 +649,7 @@ void WMainWindow::openLoadDialog()
...
@@ -649,7 +649,7 @@ void WMainWindow::openLoadDialog()
}
}
filters
+=
QString
(
"Any files (*)"
);
filters
+=
QString
(
"Any files (*)"
);
QStringList
filenames
=
QFileDialog
::
getOpenFileNames
(
this
,
"Open Data, Project or Script"
,
lastPath
,
filters
);
QStringList
filenames
=
QFileDialog
::
getOpenFileNames
(
this
,
"Open Data, Project or Script"
,
lastPath
,
filters
);
if
(
filenames
.
empty
()
)
if
(
filenames
.
empty
()
)
{
{
return
;
return
;
...
...
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