Branch: refs/heads/master Author: LarsGit223 lars_paulsen@web.de Committer: LarsGit223 lars_paulsen@web.de Date: Sun, 17 Feb 2019 18:10:04 UTC Commit: b60784b13007db45eb8bad6a2d39cd337a8771bc https://github.com/geany/geany-plugins/commit/b60784b13007db45eb8bad6a2d39cd...
Log Message: ----------- scope: fixed "Modify" menu item being active without selection
The context menu item "Modify" is now only set to sensitive=TRUE if a local variable is selected. This prevents a crash that happend if "Modify" was selected without having a local variable selected. Fixes #825.
Modified Paths: -------------- scope/src/local.c
Modified: scope/src/local.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -179,7 +179,7 @@ static void on_local_mr_mode(const MenuItem *menu_item)
#define DS_FRESHABLE (DS_DEBUG | DS_EXTRA_2) #define DS_COPYABLE (DS_BASICS | DS_EXTRA_1) -#define DS_MODIFYABLE (DS_DEBUG | DS_EXTRA_2) +#define DS_MODIFYABLE (DS_DEBUG | DS_EXTRA_1) #define DS_WATCHABLE (DS_BASICS | DS_EXTRA_1) #define DS_INSPECTABLE (DS_NOT_BUSY | DS_EXTRA_1) #define DS_REPARSABLE (DS_BASICS | DS_EXTRA_1)
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).