Skip to content

Commit

Permalink
[HOTFIX] Temporary fix to avoid disapperance of anonymization panel
Browse files Browse the repository at this point in the history
  • Loading branch information
fvpolpeta committed Apr 16, 2018
1 parent 612050f commit 1f81ea0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Horos/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
<key>CFBundleExecutable</key>
<string>Horos</string>
<key>CFBundleGetInfoString</key>
<string>Horos v3.0.0 RC4</string>
<string>Horos v3.0.0 RC5</string>
<key>CFBundleIconFile</key>
<string>Horos.icns</string>
<key>CFBundleIdentifier</key>
Expand Down Expand Up @@ -238,7 +238,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>20180413</string>
<string>20180415</string>
<key>GitHash</key>
<string></string>
<key>GitState</key>
Expand Down
10 changes: 10 additions & 0 deletions Horos/Sources/AnonymizationViewController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ This file is part of the Horos Project (www.horosproject.org)
#import "N2TextField.h"
#import "N2CustomTitledPopUpButtonCell.h"
#import "NSUserDefaultsController+N2.h"
#import "BrowserController.h"
#include <cmath>
#include <algorithm>

Expand Down Expand Up @@ -314,6 +315,15 @@ -(void)setTagsValues:(NSArray*)tagsValues

NSEnableScreenUpdates();

/* UGLY HOTFIX / WORKAROUND UNTIL REVIEWING N2AdaptiveBox
------------------------------------------------------ */
NSRect frame = [[[BrowserController currentBrowser] window] frame];
frame.size.width--;
[[[BrowserController currentBrowser] window] setFrame:frame display:YES];
frame.size.width++;
[[[BrowserController currentBrowser] window] setFrame:frame display:YES];
/* ---------------------------------------------------- */

[zeroTags release];
}

Expand Down

0 comments on commit 1f81ea0

Please sign in to comment.