From 3635900e70976b376a112f086fbab1983504cce9 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Wed, 10 Mar 2010 01:09:40 +0000 Subject: - If using an untitled connection (eg non-spf), default to saving queries to the global favourites list --- Source/CustomQuery.m | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source') 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 -- cgit v1.2.3