|
@@ -630,12 +630,16 @@ NSPopoverDelegate>
|
|
[embeddedWC.window center];
|
|
[embeddedWC.window center];
|
|
#endif
|
|
#endif
|
|
#else
|
|
#else
|
|
- [[KMProductCompareWC shared] setOrientation:YES];
|
|
|
|
- [[KMProductCompareWC shared] setOrientationType:KMCompareTableTypePro_Base];
|
|
|
|
- [[KMProductCompareWC shared] showWindow:nil];
|
|
|
|
-
|
|
|
|
|
|
+ if ([KMMemberInfo shared].isLogin) {
|
|
|
|
+ [[KMMemberInfo shared] productCompareShow];
|
|
|
|
+ } else {
|
|
|
|
+ [[KMLoginWindowsController shared] openWindow:^(BOOL success) {
|
|
|
|
+ if (success) {
|
|
|
|
+ [[KMMemberInfo shared] productCompareShow];
|
|
|
|
+ }
|
|
|
|
+ }];
|
|
|
|
+ }
|
|
#endif
|
|
#endif
|
|
-
|
|
|
|
}
|
|
}
|
|
|
|
|
|
- (NSAttributedString *)numberConvertColor:(NSColor*)color String:(NSString *)string {
|
|
- (NSAttributedString *)numberConvertColor:(NSColor*)color String:(NSString *)string {
|