|
@@ -630,12 +630,16 @@ NSPopoverDelegate>
|
|
|
[embeddedWC.window center];
|
|
|
#endif
|
|
|
#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
|
|
|
-
|
|
|
}
|
|
|
|
|
|
- (NSAttributedString *)numberConvertColor:(NSColor*)color String:(NSString *)string {
|