Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
3b79f027
Commit
3b79f027
authored
Jul 21, 2010
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gif export is not supported by wxWidgets
This 'fixes' #18 by just removing the option to export .gif files
parent
5073e830
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/gui/set/window.cpp
src/gui/set/window.cpp
+1
-1
No files found.
src/gui/set/window.cpp
View file @
3b79f027
...
@@ -549,7 +549,7 @@ void SetWindow::onFileExportImage(wxCommandEvent&) {
...
@@ -549,7 +549,7 @@ void SetWindow::onFileExportImage(wxCommandEvent&) {
CardP
card
=
current_panel
->
selectedCard
();
CardP
card
=
current_panel
->
selectedCard
();
if
(
!
card
)
return
;
// no card selected
if
(
!
card
)
return
;
// no card selected
String
name
=
wxFileSelector
(
_TITLE_
(
"save image"
),
settings
.
default_export_dir
,
clean_filename
(
card
->
identification
()),
_
(
""
),
String
name
=
wxFileSelector
(
_TITLE_
(
"save image"
),
settings
.
default_export_dir
,
clean_filename
(
card
->
identification
()),
_
(
""
),
_
(
"JPEG images (*.jpg)|*.jpg|Windows bitmaps (*.bmp)|*.bmp|PNG images (*.png)|*.png|
GIF images (*.gif)|*.gif|
TIFF images (*.tif)|*.tif"
),
_
(
"JPEG images (*.jpg)|*.jpg|Windows bitmaps (*.bmp)|*.bmp|PNG images (*.png)|*.png|TIFF images (*.tif)|*.tif"
),
wxSAVE
|
wxOVERWRITE_PROMPT
,
this
);
wxSAVE
|
wxOVERWRITE_PROMPT
,
this
);
if
(
!
name
.
empty
())
{
if
(
!
name
.
empty
())
{
settings
.
default_export_dir
=
wxPathOnly
(
name
);
settings
.
default_export_dir
=
wxPathOnly
(
name
);
...
...
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