fix a compiler warning on GTK builds

pull/1040/head
phkahler 2021-05-12 20:02:21 -04:00
parent 3e01afa3ae
commit e74e202465
1 changed files with 1 additions and 1 deletions

View File

@ -1345,7 +1345,7 @@ public:
return;
Platform::Path path = GetFilename();
if(gtkChooser->get_action() != GTK_FILE_CHOOSER_ACTION_OPEN) {
if(gtkChooser->get_action() != Gtk::FILE_CHOOSER_ACTION_OPEN) {
SetCurrentName(path.WithExtension(extension).FileName());
}
}