diff options
author | rowanbeentje <rowan@beent.je> | 2010-03-10 01:09:40 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-03-10 01:09:40 +0000 |
commit | 3635900e70976b376a112f086fbab1983504cce9 (patch) | |
tree | 24cb4e303d4096edafd6253832a682449775ca0c | |
parent | 8c523c30a25d3cfe8f64e4e22060839da79ce00e (diff) | |
download | sequelpro-3635900e70976b376a112f086fbab1983504cce9.tar.gz sequelpro-3635900e70976b376a112f086fbab1983504cce9.tar.bz2 sequelpro-3635900e70976b376a112f086fbab1983504cce9.zip |
- If using an untitled connection (eg non-spf), default to saving queries to the global favourites list
-rw-r--r-- | Source/CustomQuery.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CustomQuery.m b/Source/CustomQuery.m index 9df31b8b..33285910 100644 --- a/Source/CustomQuery.m +++ b/Source/CustomQuery.m @@ -172,6 +172,7 @@ return; } + if ([tableDocumentInstance isUntitled]) [saveQueryFavoriteGlobal setState:NSOnState]; [NSApp beginSheet:queryFavoritesSheet modalForWindow:tableWindow modalDelegate:self @@ -189,6 +190,7 @@ return; } + if ([tableDocumentInstance isUntitled]) [saveQueryFavoriteGlobal setState:NSOnState]; [NSApp beginSheet:queryFavoritesSheet modalForWindow:tableWindow modalDelegate:self |