mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Merge pull request #85 from victorlevasseur/master
Add a thumbnail to the file dialog when adding a picture
This commit is contained in:
@@ -349,7 +349,7 @@ wxTreeItemId ResourcesEditor::GetSelectedFolderItem()
|
||||
*/
|
||||
void ResourcesEditor::OnAddImageBtClick( wxCommandEvent& event )
|
||||
{
|
||||
wxFileDialog FileDialog( this, _("Choose one or more images to add"), "", "", _("Supported image files|*.jpg;*.png|All files|*.*"), wxFD_MULTIPLE );
|
||||
wxFileDialog FileDialog( this, _("Choose one or more images to add"), "", "", _("Supported image files|*.jpg;*.png|All files|*.*"), wxFD_MULTIPLE|wxFD_PREVIEW );
|
||||
|
||||
if ( FileDialog.ShowModal() == wxID_OK )
|
||||
{
|
||||
|
Reference in New Issue
Block a user