Skip to content

Fix Export As trailing dot when export filter is unset#4368

Open
SIDDHAARTHAA wants to merge 1 commit intomapeditor:masterfrom
SIDDHAARTHAA:fix/export-double-extension
Open

Fix Export As trailing dot when export filter is unset#4368
SIDDHAARTHAA wants to merge 1 commit intomapeditor:masterfrom
SIDDHAARTHAA:fix/export-double-extension

Conversation

@SIDDHAARTHAA
Copy link
Contributor

closes #3520

Fixes Export As... generating filenames with a trailing dot when no export filter is available (e.g. unset session preference), which could lead to outputs like name..tsx.

Changes:

  • In export filename suggestion, only append . + extension when the parsed extension is non-empty.
  • Align tileset export filter session key to tileset.lastUsedExportFilter so the correct preference is reused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extension error in export function

1 participant