Skip to content
Permalink
Browse files

Update util.rb

Using a static path for UI.AskForSaveFileName(...) instead of a relative one (that does not work in ncurses)
  • Loading branch information...
kobliha authored and imobachgs committed Oct 6, 2017
1 parent a7c83c7 commit b5e8fc9809949ba30947767e054f2a5a7a2e1248
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/include/ca-management/util.rb
@@ -114,9 +114,9 @@ def selectFile(newFile, filterString, headline)
ret = strip(Ops.get_string(retmap, "stdout", ""))
else
if newFile
ret = UI.AskForSaveFileName(".", filterString, headline)
ret = UI.AskForSaveFileName(newFile, filterString, headline)
else
ret = UI.AskForExistingFile(".", filterString, headline)
ret = UI.AskForExistingFile("/root", filterString, headline)
end
end

0 comments on commit b5e8fc9

Please sign in to comment.
You can’t perform that action at this time.