SelectDirectoryDialog always starts at Desktop level in Windows
I would like the user to start at a certain directory, so to only traverse down the directory tree. However setting dialog.startDirectory has no effect.  It always starts at Desktop in Windows.  For OpenFileDialog setting dialog.directory works as expected, going straight to the preset directory.  I started the test with an edited version of the example code.

Am I doing something wrong (I'm fairly new to Nim), or is this an issue ?


`
# This example shows how to use the Open File and Save File As dialogs.

import nigui

app.init()

var window = newWindow()
var mainContainer = newLayoutContainer(Layout_Vertical)
window.add(mainContainer)

var buttons = newLayoutContainer(Layout_Horizontal)
mainContainer.add(buttons)

var textArea = newTextArea()
mainContainer.add(textArea)

var button1 = newButton("Open ...")
buttons.add(button1)
button1.onClick = proc(event: ClickEvent) =
  var dialog = newOpenFileDialog()
  dialog.title = "Test Open"
  dialog.multiple = true
  
  dialog.directory = "D:\\Software"
  dialog.run()
  textArea.addLine($dialog.files.len & " files selected")
  if dialog.files.len > 0:
    for file in dialog.files:
      textArea.addLine(file)


var button2 = newButton("Select Directory ...")
buttons.add(button2)
button2.onClick = proc(event: ClickEvent) =
  
  var dialog = SelectDirectoryDialog()    
  # newSelectDirectory ?? -> doesn't work either
  dialog.title = "Test Select Directory"
  dialog.startdirectory = "C:\\Users\\Ivan"
  
  # check whether startdirectory is set properly
  echo "startdirectory: ", dialog.startdirectory
  
  dialog.run()
  if dialog.selectedDirectory == "":
    textArea.addLine("No directory selected")
  else:
    textArea.addLine(dialog.selectedDirectory)

window.show()
app.run()`




