fix a compiler warning on GTK builds

This commit is contained in:
phkahler 2021-05-12 20:02:21 -04:00
parent 3e01afa3ae
commit e74e202465

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());
}
}