From 965db2c81a4e359bb677905eb05bdacfd6a066ec Mon Sep 17 00:00:00 2001 From: Kilian Hofmann Date: Thu, 22 Jun 2017 19:41:52 +0200 Subject: [PATCH] Converter quotes after last window closes --- Converter/AppDelegate.swift | 4 + Converter/Base.lproj/Main.storyboard | 20 +-- Converter/ViewController.swift | 2 +- Docsis Toolkit.xcodeproj/project.pbxproj | 1 + .../xcdebugger/Breakpoints_v2.xcbkptlist | 131 ------------------ Graphic Analysis 2/Info.plist | 2 +- Graphic Analysis 2/buildnum.ver | 2 +- 7 files changed, 9 insertions(+), 153 deletions(-) diff --git a/Converter/AppDelegate.swift b/Converter/AppDelegate.swift index 142e0b5..5ea1fe3 100644 --- a/Converter/AppDelegate.swift +++ b/Converter/AppDelegate.swift @@ -25,5 +25,9 @@ class AppDelegate: NSObject, NSApplicationDelegate { guard isConverting else { return NSApplicationTerminateReply.terminateNow } return NSApplicationTerminateReply.terminateCancel } + + func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { + return true + } } diff --git a/Converter/Base.lproj/Main.storyboard b/Converter/Base.lproj/Main.storyboard index dce55ba..62b762f 100644 --- a/Converter/Base.lproj/Main.storyboard +++ b/Converter/Base.lproj/Main.storyboard @@ -1,5 +1,5 @@ - + @@ -49,18 +49,6 @@ - - - - - - - - - - - - @@ -70,12 +58,6 @@ - - - - - - diff --git a/Converter/ViewController.swift b/Converter/ViewController.swift index 778b599..f7a24f5 100644 --- a/Converter/ViewController.swift +++ b/Converter/ViewController.swift @@ -23,7 +23,7 @@ class ViewController: NSViewController { override func viewDidLoad() { super.viewDidLoad() - + title = "" // Do any additional setup after loading the view. } diff --git a/Docsis Toolkit.xcodeproj/project.pbxproj b/Docsis Toolkit.xcodeproj/project.pbxproj index e1dc372..30bf9cf 100644 --- a/Docsis Toolkit.xcodeproj/project.pbxproj +++ b/Docsis Toolkit.xcodeproj/project.pbxproj @@ -1001,6 +1001,7 @@ E220BFAA1EFB22D500DF5A97 /* Release */, ); defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; }; E2218C7D1EF2D2B5004298F6 /* Build configuration list for PBXProject "Docsis Toolkit" */ = { isa = XCConfigurationList; diff --git a/Docsis Toolkit.xcodeproj/xcuserdata/Kili2.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/Docsis Toolkit.xcodeproj/xcuserdata/Kili2.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist index c399d3b..fe2b454 100644 --- a/Docsis Toolkit.xcodeproj/xcuserdata/Kili2.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ b/Docsis Toolkit.xcodeproj/xcuserdata/Kili2.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -2,135 +2,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Graphic Analysis 2/Info.plist b/Graphic Analysis 2/Info.plist index ac79b6e..d78f011 100644 --- a/Graphic Analysis 2/Info.plist +++ b/Graphic Analysis 2/Info.plist @@ -44,7 +44,7 @@ CFBundleShortVersionString 2.1 CFBundleVersion - 480 + 481 LSApplicationCategoryType public.app-category.utilities LSMinimumSystemVersion diff --git a/Graphic Analysis 2/buildnum.ver b/Graphic Analysis 2/buildnum.ver index fa95810..60450e8 100644 --- a/Graphic Analysis 2/buildnum.ver +++ b/Graphic Analysis 2/buildnum.ver @@ -1,2 +1,2 @@ version 2.1 -build 480 +build 481