[yast-commit] r67394 - in /trunk/ncurses/src: NCAskForFile.cc NCFileSelection.cc
![](https://seccdn.libravatar.org/avatar/1221572c74a1df78a3aa2625b979eb21.jpg?s=120&d=mm&r=g)
Author: gs Date: Thu Feb 9 14:31:53 2012 New Revision: 67394 URL: http://svn.opensuse.org/viewcvs/yast?rev=67394&view=rev Log: set initial file name Modified: trunk/ncurses/src/NCAskForFile.cc trunk/ncurses/src/NCFileSelection.cc Modified: trunk/ncurses/src/NCAskForFile.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCAskForFile.cc?rev=6... ============================================================================== --- trunk/ncurses/src/NCAskForFile.cc (original) +++ trunk/ncurses/src/NCAskForFile.cc Thu Feb 9 14:31:53 2012 @@ -238,6 +238,10 @@ dirName->addItem( dirList->getCurrentDir(), true ); // selected + if ( iniFileName == "" ) + // show the currently selected file + fileName->setValue( fileList->getCurrentFile() ); + // event loop do { Modified: trunk/ncurses/src/NCFileSelection.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCFileSelection.cc?re... ============================================================================== --- trunk/ncurses/src/NCFileSelection.cc (original) +++ trunk/ncurses/src/NCFileSelection.cc Thu Feb 9 14:31:53 2012 @@ -409,6 +409,7 @@ const string & filter, const string & iniDir ) : NCFileSelection( parent, tableHeader, type, iniDir ) + , currentFile("") { //fillHeader(); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
gs@svn2.opensuse.org