Blender Git Loki

Git Commits -> Revision 035d864

Revision 035d864 by Henrik Aarnio (master)
November 19, 2013, 15:42 (GMT)
Fix: tab completing a filepath name in file browsers asks to create a new
directory if name was not fully matched

When hitting tab to complete a directory name in the filepath field in the
filebrowser Blender shows a "create new directory?" popup, if the beginning
of directory name typed in the field matches many entries. For example if you
have directories in the open directory called "test123" and "test456", typing
"te", tab would complete up to "test", but ask to create a new folder with the
name "test".

This patch unsets the boolean storing the info about changing filepath if the
folder with the completed name does not exist.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D10

Commit Details:

Full Hash: 035d86402bbb8dab2bfb086a3027e5ec93e52748
Parent Commit: 0c0bed3
Committed By: Brecht Van Lommel
Lines Changed: +28, -16

4 Modified Paths:

/source/blender/editors/include/UI_interface.h (+5, -1) (Diff)
/source/blender/editors/interface/interface.c (+12, -4) (Diff)
/source/blender/editors/interface/interface_regions.c (+3, -3) (Diff)
/source/blender/editors/space_file/filesel.c (+8, -8) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021