Validate Run button of the StepTalk's scripts panel.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@34542 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2012-01-15 17:15:07 +00:00
parent 520c66f605
commit 77ed0deda7
2 changed files with 7 additions and 1 deletions

View file

@ -1,4 +1,9 @@
2012-01-15 Wolfgang Lux <wlux@uni-muenster.de>
2012-01-15 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/STScriptsPanel.m (-selectScript:): Validate Run button of the
scripts panel.
2012-01-15 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/STApplicationScriptingController.m (-scriptingMenu): Protect
against GNUstep stubbornly replacing the application's main menu.

View file

@ -129,6 +129,7 @@ STScriptsPanel *sharedScriptsPanel = nil;
if (!description)
description = @"";
[descriptionText setString:description];
[runButton setEnabled:script ? YES : NO];
}
- (void)command:(id)sender