[FL-3053] Archive browser delete fix (#2163)
This commit is contained in:
parent
a9c2b4d6a0
commit
e0d716647c
@ -143,6 +143,8 @@ bool archive_scene_browser_on_event(void* context, SceneManagerEvent event) {
|
|||||||
break;
|
break;
|
||||||
case ArchiveBrowserEventFileMenuDelete:
|
case ArchiveBrowserEventFileMenuDelete:
|
||||||
if(archive_get_tab(browser) != ArchiveTabFavorites) {
|
if(archive_get_tab(browser) != ArchiveTabFavorites) {
|
||||||
|
scene_manager_set_scene_state(
|
||||||
|
archive->scene_manager, ArchiveAppSceneBrowser, SCENE_STATE_NEED_REFRESH);
|
||||||
scene_manager_next_scene(archive->scene_manager, ArchiveAppSceneDelete);
|
scene_manager_next_scene(archive->scene_manager, ArchiveAppSceneDelete);
|
||||||
}
|
}
|
||||||
consumed = true;
|
consumed = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user