diff options
| author | Jeff Carr <[email protected]> | 2023-12-29 17:24:16 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-12-29 17:24:16 -0600 |
| commit | ced398383ee30b7fab4ff9e71cfa9d0ad96705b5 (patch) | |
| tree | b4bb9a1ccb545fc3d40c535bcd91c092645d739e /main.go | |
| parent | 4b0077cce106d638944ecd8a6d49ee23fae79dc4 (diff) | |
using args.Register()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -123,9 +123,9 @@ func New() *Node { // try to load andlabs, if that doesn't work, fall back to the console func (n *Node) Default() *Node { - if (guiArg.Gui != "") { - log(logError, "New.Default() try toolkit =", guiArg.Gui) - return n.LoadToolkit(guiArg.Gui) + if (argGui.GuiPlugin != "") { + log(logError, "New.Default() try toolkit =", argGui.GuiPlugin) + return n.LoadToolkit(argGui.GuiPlugin) } // if DISPLAY isn't set, return since gtk can't load // TODO: figure out how to check what to do in macos and mswindows |
