mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
* Palettes/2Controls/GormColorWellAttributesInspector.m: NSColorWell
inspector was showing inverted settings after the last change. Corrected this in -ok: and -revert: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35963 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1c60f26d3a
commit
451e84bc06
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2013-01-13 16:57-EST Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Palettes/2Controls/GormColorWellAttributesInspector.m: NSColorWell
|
||||
inspector was showing inverted settings after the last change.
|
||||
Corrected this in -ok: and -revert:
|
||||
|
||||
2012-12-12 12:33-EST Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* GormCore/GormViewEditor.m: Prevent recursive frame/bounds
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
}
|
||||
else if ( sender == disabledSwitch )
|
||||
{
|
||||
[object setEnabled: [disabledSwitch state]];
|
||||
[object setEnabled: ([disabledSwitch state] == NSOnState)?NO:YES]; // it's being enabled to show it's disabled!
|
||||
}
|
||||
else if ( sender == borderedSwitch )
|
||||
{
|
||||
|
@ -107,7 +107,7 @@
|
|||
if ( object == nil )
|
||||
return;
|
||||
|
||||
[disabledSwitch setState: [object isEnabled]];
|
||||
[disabledSwitch setState: ([object isEnabled])?NSOffState:NSOnState]; // On = NO and Off = YES, since we're tracking the Disabled state.
|
||||
[borderedSwitch setState: [object isBordered]];
|
||||
[initialColorWell setColorWithoutAction: [object color]];
|
||||
[tagField setIntValue: [object tag]];
|
||||
|
|
Loading…
Reference in a new issue