Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
2d07018a
Commit
2d07018a
authored
4 months ago
by
Riegel
Browse files
Options
Download
Email Patches
Plain Diff
Style: Combine file extension filters
parent
c2cf205a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/OpenFileDialog.java
+1
-2
...java/de/hft/stuttgart/citydoctor2/gui/OpenFileDialog.java
with
1 addition
and
2 deletions
+1
-2
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/OpenFileDialog.java
+
1
-
2
View file @
2d07018a
...
@@ -120,8 +120,7 @@ public class OpenFileDialog {
...
@@ -120,8 +120,7 @@ public class OpenFileDialog {
if
(
fc
==
null
)
{
if
(
fc
==
null
)
{
fc
=
new
FileChooser
();
fc
=
new
FileChooser
();
fc
.
setTitle
(
Localization
.
getText
(
"OpenFileDialog.select"
));
fc
.
setTitle
(
Localization
.
getText
(
"OpenFileDialog.select"
));
fc
.
getExtensionFilters
().
add
(
new
ExtensionFilter
(
"GML/XML"
,
"*.gml"
,
"*.xml"
));
fc
.
getExtensionFilters
().
add
(
new
ExtensionFilter
(
"GML/XML/ZIP"
,
"*.gml"
,
"*.xml"
,
"*.zip"
));
fc
.
getExtensionFilters
().
add
(
new
ExtensionFilter
(
"ZIP"
,
"*.zip"
));
fc
.
getExtensionFilters
().
add
(
new
ExtensionFilter
(
Localization
.
getText
(
"MainWindow.all"
),
"*.*"
));
fc
.
getExtensionFilters
().
add
(
new
ExtensionFilter
(
Localization
.
getText
(
"MainWindow.all"
),
"*.*"
));
}
}
File
dir
=
new
File
(
Settings
.
get
(
Settings
.
LAST_OPEN_FOLDER
,
""
));
File
dir
=
new
File
(
Settings
.
get
(
Settings
.
LAST_OPEN_FOLDER
,
""
));
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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