mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
(GUI): strip quotes from path typed into location bar.
This commit is contained in:
parent
3233cdc18e
commit
a54ecc3863
@ -736,6 +736,7 @@ namespace GARbro.GUI
|
|||||||
if (e.Key != Key.Return)
|
if (e.Key != Key.Return)
|
||||||
return;
|
return;
|
||||||
string path = (sender as AutoCompleteBox).Text;
|
string path = (sender as AutoCompleteBox).Text;
|
||||||
|
path = path.Trim (' ', '"');
|
||||||
if (string.IsNullOrEmpty (path))
|
if (string.IsNullOrEmpty (path))
|
||||||
return;
|
return;
|
||||||
if (FullpathRe.IsMatch (path))
|
if (FullpathRe.IsMatch (path))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user