Use good default filenames on Linux/GTK
parent
e59186a413
commit
640a1b913a
|
@ -1247,7 +1247,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
void SuggestFilename(Platform::Path path) override {
|
void SuggestFilename(Platform::Path path) override {
|
||||||
SetFilename(path.WithExtension("")); // TODO
|
gtkChooser->set_current_name(path.FileStem()+"."+GetExtension());
|
||||||
}
|
}
|
||||||
|
|
||||||
void AddFilter(std::string name, std::vector<std::string> extensions) override {
|
void AddFilter(std::string name, std::vector<std::string> extensions) override {
|
||||||
|
|
Loading…
Reference in New Issue