Archive: Fix rename extension show/hide behavior

This commit is contained in:
Willy-JL
2024-07-13 23:37:22 +01:00
parent ebca3024d9
commit 233d215040
2 changed files with 4 additions and 2 deletions

View File

@@ -103,7 +103,9 @@
- UL: Sync signal delete scene with OFW (by @xMasterX) - UL: Sync signal delete scene with OFW (by @xMasterX)
- UL: Fix incorrect rx key state when opening Read menu (by @xMasterX) - UL: Fix incorrect rx key state when opening Read menu (by @xMasterX)
- OFW: Fixed transition to Saved menu after Delete RAW (by @Skorpionm) - OFW: Fixed transition to Saved menu after Delete RAW (by @Skorpionm)
- Archive: Fix favorite's parent folders thinking they are favorited too (by @Willy-JL) - Archive:
- Fix favorite's parent folders thinking they are favorited too (by @Willy-JL)
- Fix rename extension show/hide behavior (by @Willy-JL)
- Infrared: Correct Samsung.ir CH+ command (by @skyhawkillusions) - Infrared: Correct Samsung.ir CH+ command (by @skyhawkillusions)
- FBT: Consistent version/branch info, fix gitorigin (by @Willy-JL) - FBT: Consistent version/branch info, fix gitorigin (by @Willy-JL)
- AssetPacker: Pack pre-compiled icons and fonts too (by @Willy-JL) - AssetPacker: Pack pre-compiled icons and fonts too (by @Willy-JL)

View File

@@ -28,7 +28,7 @@ void archive_scene_rename_on_enter(void* context) {
ArchiveTabEnum tab = archive_get_tab(archive->browser); ArchiveTabEnum tab = archive_get_tab(archive->browser);
bool hide_ext = tab != ArchiveTabBrowser && tab != ArchiveTabInternal; bool hide_ext = tab != ArchiveTabBrowser && tab != ArchiveTabInternal;
if(is_file && !hide_ext) { if(is_file && hide_ext) {
path_extract_ext_str(current->path, archive->file_extension); path_extract_ext_str(current->path, archive->file_extension);
path_extract_filename(current->path, path_name, true); path_extract_filename(current->path, path_name, true);
} else { } else {