diff src/name/blackcap/exifwasher/Main.kt @ 20:965435b85a69

Get rid of some stuttering.
author David Barts <n5jrn@me.com>
date Sun, 12 Apr 2020 11:46:12 -0700
parents aafc9c127c7b
children ee580450d45a
line wrap: on
line diff
--- a/src/name/blackcap/exifwasher/Main.kt	Sat Apr 11 16:12:59 2020 -0700
+++ b/src/name/blackcap/exifwasher/Main.kt	Sun Apr 12 11:46:12 2020 -0700
@@ -12,8 +12,8 @@
     val MYNAME = "ExifWasher"
 
     /* global UI objects */
-    var mainFrame: MainFrame by SetOnce<MainFrame>()
-    var settingsDialog: SettingsDialog by SetOnce<SettingsDialog>()
+    var mainFrame: MainFrame by setOnce()
+    var settingsDialog: SettingsDialog by setOnce()
 
     fun initialize() {
         UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());