mirror of
https://github.com/nickshanks/ResKnife.git
synced 2024-06-06 20:29:29 +00:00
Add autosave name to document window/table and hopefully fix an exception in the info window.
This commit is contained in:
parent
aa3d1dfd8c
commit
680d95f9d3
|
@ -190,6 +190,7 @@ FSGetCatalogInfo:
|
|||
- (void)documentInfoDidChange:(NSNotification *)notification
|
||||
{
|
||||
#pragma unused(notification)
|
||||
currentDocument = [[notification object] objectForKey:@"NSDocument"];
|
||||
[self updateInfoWindow];
|
||||
}
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
switch( power )
|
||||
{
|
||||
case 0:
|
||||
[string appendFormat:NSLocalizedString(@"%.0f", nil), value];
|
||||
[string appendFormat:NSLocalizedString(@"%.0f bytes", nil), value];
|
||||
break;
|
||||
|
||||
case 10:
|
||||
|
|
|
@ -287,9 +287,10 @@
|
|||
</object>
|
||||
</object>
|
||||
<double key="NSRowHeight">17</double>
|
||||
<int key="NSTvFlags">-624918528</int>
|
||||
<int key="NSTvFlags">-608141312</int>
|
||||
<reference key="NSDelegate"/>
|
||||
<reference key="NSDataSource"/>
|
||||
<string key="NSAutosaveName">Resource List</string>
|
||||
<int key="NSColumnAutoresizingStyle">1</int>
|
||||
<int key="NSDraggingSourceMaskForLocal">-1</int>
|
||||
<int key="NSDraggingSourceMaskForNonLocal">0</int>
|
||||
|
@ -365,6 +366,7 @@
|
|||
<string key="NSScreenRect">{{0, 0}, {1920, 1178}}</string>
|
||||
<string key="NSMinSize">{250, 222}</string>
|
||||
<string key="NSMaxSize">{10000000000000, 10000000000000}</string>
|
||||
<string key="NSFrameAutosaveName">Resource Document</string>
|
||||
<int key="NSWindowCollectionBehavior">128</int>
|
||||
<bool key="NSWindowIsRestorable">NO</bool>
|
||||
</object>
|
||||
|
|
Loading…
Reference in New Issue
Block a user