mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 03:51:22 +00:00
* GormCore/GormViewSizeInspector.m: Correct bug#30886: Gorm should
change the document to edited when changing resize attributes. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35964 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
451e84bc06
commit
2ca9057318
2 changed files with 14 additions and 2 deletions
|
@ -1,8 +1,13 @@
|
|||
2013-01-13 17:45-EST Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* GormCore/GormViewSizeInspector.m: Correct bug#30886: Gorm should
|
||||
change the document to edited when changing resize attributes.
|
||||
|
||||
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:
|
||||
Corrected this in -ok: and -revert: bug#32827
|
||||
|
||||
2012-12-12 12:33-EST Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include "GormViewKnobs.h"
|
||||
#include "GormViewSizeInspector.h"
|
||||
#include "GormViewWindow.h"
|
||||
#include <InterfaceBuilder/IBApplicationAdditions.h>
|
||||
|
||||
@implementation GormViewSizeInspector
|
||||
|
||||
|
@ -124,7 +125,12 @@ NSImage *mVLine = nil;
|
|||
{
|
||||
if (control == sizeForm)
|
||||
{
|
||||
id<IBDocuments> document = [(id<IB>)NSApp activeDocument];
|
||||
NSRect rect;
|
||||
|
||||
// Update the document as edited...
|
||||
[document touch];
|
||||
|
||||
rect = NSMakeRect([[control cellAtIndex: 0] floatValue],
|
||||
[[control cellAtIndex: 1] floatValue],
|
||||
[[control cellAtIndex: 2] floatValue],
|
||||
|
@ -194,7 +200,8 @@ NSImage *mVLine = nil;
|
|||
- (void) setAutosize: (id)sender
|
||||
{
|
||||
unsigned mask = [sender tag];
|
||||
|
||||
id<IBDocuments> document = [(id<IB>)NSApp activeDocument];
|
||||
[document touch];
|
||||
if ([sender state] == NSOnState)
|
||||
{
|
||||
mask = [object autoresizingMask] | mask;
|
||||
|
|
Loading…
Reference in a new issue