aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConstants.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2011-03-22 00:11:30 +0000
committerrowanbeentje <rowan@beent.je>2011-03-22 00:11:30 +0000
commit0912522da735e423d5d99390ca30e358f18993b8 (patch)
tree4ec9e391f5d3fd54d35a7dedafcc64b2ea82ea54 /Source/SPConstants.h
parent07c0c28a885dd2f24596ffcbdca6c7c65f913833 (diff)
downloadsequelpro-0912522da735e423d5d99390ca30e358f18993b8.tar.gz
sequelpro-0912522da735e423d5d99390ca30e358f18993b8.tar.bz2
sequelpro-0912522da735e423d5d99390ca30e358f18993b8.zip
- Fix exception on startup if no favourites present - I think the previous first-item preservation dates back to when the title had to be included in the favorites array, so removed
- Fix favorites sorting and preservation of unsorted status
Diffstat (limited to 'Source/SPConstants.h')
-rw-r--r--Source/SPConstants.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPConstants.h b/Source/SPConstants.h
index 5a11300a..e6855132 100644
--- a/Source/SPConstants.h
+++ b/Source/SPConstants.h
@@ -129,6 +129,7 @@ typedef enum
// Sort by constants
typedef enum
{
+ SPFavoritesSortUnsorted = -1,
SPFavoritesSortNameItem = 0,
SPFavoritesSortHostItem = 1,
SPFavoritesSortTypeItem = 2