Skip to content

Commit

Permalink
fix issue #353 #256
Browse files Browse the repository at this point in the history
The crash of Category Editor in Histogram is caused by a uncleaned
linking code that tries to find already closed histogram.

This fix also update the plist to support crisp font in Retina display.
The icon/drawing code still needs a solution.
  • Loading branch information
lixun910 committed Mar 4, 2016
1 parent 858895a commit c84f305
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BuildTools/macosx/GeoDa-GDAL-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>BuildMachineOSBuild</key>
<string>10K549</string>
<key>CFBundleDevelopmentRegion</key>
Expand Down
2 changes: 2 additions & 0 deletions BuildTools/macosx/GeoDa-Xcode-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>BuildMachineOSBuild</key>
<string>10K549</string>
<key>CFBundleDevelopmentRegion</key>
Expand Down
1 change: 1 addition & 0 deletions Explore/HistogramView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ HistogramCanvas::~HistogramCanvas()
{
LOG_MSG("Entering HistogramCanvas::~HistogramCanvas");
highlight_state->removeObserver(this);
custom_classif_state->removeObserver(this);
LOG_MSG("Exiting HistogramCanvas::~HistogramCanvas");
}

Expand Down

0 comments on commit c84f305

Please sign in to comment.