From 555b34596b44faf7486da91b2f3fdeb0498643de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?plaf=C3=BC?=
Date: Sun, 17 May 2015 22:30:33 +0200 Subject: [PATCH] Fixed bug preventing widget from being created --- app/src/main/java/me/writeily/dialog/FilesystemDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/me/writeily/dialog/FilesystemDialog.java b/app/src/main/java/me/writeily/dialog/FilesystemDialog.java index ac1e981..64e4cfc 100644 --- a/app/src/main/java/me/writeily/dialog/FilesystemDialog.java +++ b/app/src/main/java/me/writeily/dialog/FilesystemDialog.java @@ -57,7 +57,7 @@ public void sendBroadcast(String name) { if (isMovingFile) { broadcast.setAction(Constants.FILESYSTEM_MOVE_DIALOG_TAG); broadcast.putExtra(Constants.FILESYSTEM_FILE_NAME, name); - } else if (isSelectingFolder) { + } else if (isSelectingFolder || isSelectingForWidget) { broadcast.setAction(Constants.FILESYSTEM_SELECT_FOLDER_TAG); broadcast.putExtra(Constants.FILESYSTEM_FILE_NAME, name); } else {