Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
1e6c8cf8
Commit
1e6c8cf8
authored
Feb 22, 2015
by
Bernhard Stegmaier
Committed by
Wayne Stambaugh
Feb 22, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable file extension filters on OSX file dialog.
parent
4c6ca81f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
pgm_base.cpp
common/pgm_base.cpp
+6
-1
zones_functions_for_undo_redo.cpp
pcbnew/zones_functions_for_undo_redo.cpp
+0
-2
No files found.
common/pgm_base.cpp
View file @
1e6c8cf8
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
#include <wx/filename.h>
#include <wx/filename.h>
#include <wx/snglinst.h>
#include <wx/snglinst.h>
#include <wx/stdpaths.h>
#include <wx/stdpaths.h>
#include <wx/sysopt.h>
#include <pgm_base.h>
#include <pgm_base.h>
#include <wxstruct.h>
#include <wxstruct.h>
...
@@ -426,11 +427,15 @@ bool PGM_BASE::initPgm()
...
@@ -426,11 +427,15 @@ bool PGM_BASE::initPgm()
// Set locale option for separator used in float numbers
// Set locale option for separator used in float numbers
SetLocaleTo_Default
();
SetLocaleTo_Default
();
#ifdef __WXMAC__
// Always show filters on Open dialog to be able to choose plugin
wxSystemOptions
::
SetOption
(
wxOSX_FILEDIALOG_ALWAYS_SHOW_TYPES
,
1
);
#endif
return
true
;
return
true
;
}
}
bool
PGM_BASE
::
setExecutablePath
()
bool
PGM_BASE
::
setExecutablePath
()
{
{
m_bin_dir
=
wxStandardPaths
::
Get
().
GetExecutablePath
();
m_bin_dir
=
wxStandardPaths
::
Get
().
GetExecutablePath
();
...
...
pcbnew/zones_functions_for_undo_redo.cpp
View file @
1e6c8cf8
...
@@ -204,8 +204,6 @@ void UpdateCopyOfZonesList( PICKED_ITEMS_LIST& aPickList,
...
@@ -204,8 +204,6 @@ void UpdateCopyOfZonesList( PICKED_ITEMS_LIST& aPickList,
PICKED_ITEMS_LIST
&
aAuxiliaryList
,
PICKED_ITEMS_LIST
&
aAuxiliaryList
,
BOARD
*
aPcb
)
BOARD
*
aPcb
)
{
{
wxLogDebug
(
wxT
(
"Inside UpdadeCopyOfZonesList()."
)
);
for
(
unsigned
kk
=
0
;
kk
<
aPickList
.
GetCount
();
kk
++
)
for
(
unsigned
kk
=
0
;
kk
<
aPickList
.
GetCount
();
kk
++
)
{
{
UNDO_REDO_T
status
=
aPickList
.
GetPickedItemStatus
(
kk
);
UNDO_REDO_T
status
=
aPickList
.
GetPickedItemStatus
(
kk
);
...
...
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