aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormltownsend <mltownsend@gmail.com>2008-11-25 20:52:50 +0000
committermltownsend <mltownsend@gmail.com>2008-11-25 20:52:50 +0000
commitae9839c6219f6601003ed355033cb6148c384bef (patch)
tree0305ae72178756b927e9cc5015adaf144ecb7cb6
parentff4f8e498b12d9e0d3362aa6d31c0d57dd4af45e (diff)
downloadsequelpro-ae9839c6219f6601003ed355033cb6148c384bef.tar.gz
sequelpro-ae9839c6219f6601003ed355033cb6148c384bef.tar.bz2
sequelpro-ae9839c6219f6601003ed355033cb6148c384bef.zip
Fix for Issue #44.
-rw-r--r--CustomQuery.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/CustomQuery.m b/CustomQuery.m
index 162b00cd..dd85b4b4 100644
--- a/CustomQuery.m
+++ b/CustomQuery.m
@@ -228,6 +228,7 @@ insert the choosen favorite query in the query textView or save query to favorit
return;
}
[queryFavorites addObject:[NSString stringWithString:[textView string]]];
+ [queryFavoritesView reloadData];
[prefs setObject:queryFavorites forKey:@"queryFavorites"];
[self setFavorites];
} else if ( [queryFavoritesButton indexOfSelectedItem] == 2) {
@@ -531,6 +532,7 @@ inserts the query in the textView and performs query
i++;
}
[queryFavorites replaceObjectAtIndex:rowIndex withObject:anObject];
+ [queryFavoritesView reloadData];
}
}