View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001509 | Double Commander | Graphical user interface | public | 2016-08-27 17:18 | 2020-11-30 07:44 |
| Reporter | cordylus | Assigned To | Alexx2000 | ||
| Priority | normal | Severity | tweak | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Projection | none | ETA | none | ||
| Product Version | 0.7.4 | ||||
| Target Version | 0.8.0 | Fixed in Version | 0.8.0 | ||
| Summary | 0001509: When you type an address in the address bar and got it wrong, you don't have a chance to correct the typo | ||||
| Description | When you enter a wrong address, you get an error message box and the edit field is closed afterwards, you have to re-enter the path again. I'd like to continue path editing after the error. | ||||
| Tags | No tags attached. | ||||
| Attached Files | bug1509.patch (893 bytes)
Index: src/fileviews/ufileviewheader.pas
===================================================================
--- src/fileviews/ufileviewheader.pas (revision 7605)
+++ src/fileviews/ufileviewheader.pas (working copy)
@@ -113,10 +113,14 @@
NewPath:= NormalizePathDelimiters(FPathEdit.Text);
NewPath:= ReplaceEnvVars(ReplaceTilde(NewPath));
if not mbFileExists(NewPath) then
- ChooseFileSource(FFileView, NewPath, True)
+ begin
+ if not ChooseFileSource(FFileView, NewPath, True) then
+ Exit;
+ end
else
begin
- ChooseFileSource(FFileView, ExtractFileDir(NewPath));
+ if not ChooseFileSource(FFileView, ExtractFileDir(NewPath)) then
+ Exit;
FFileView.SetActiveFile(ExtractFileName(NewPath));
end;
FPathEdit.Visible := False;
| ||||
| Fixed in Revision | 7663 | ||||
| Operating system | |||||
| Widgetset | Win32 | ||||
| Architecture | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-08-27 17:18 | cordylus | New Issue | |
| 2017-06-01 18:20 | cordylus | File Added: bug1509.patch | |
| 2017-07-04 10:43 | Alexx2000 | Fixed in Revision | => 7663 |
| 2017-07-04 10:43 | Alexx2000 | Assigned To | => Alexx2000 |
| 2017-07-04 10:43 | Alexx2000 | Status | new => resolved |
| 2017-07-04 10:43 | Alexx2000 | Resolution | open => fixed |
| 2017-07-04 10:43 | Alexx2000 | Fixed in Version | => 0.8.0 |
| 2017-07-04 10:43 | Alexx2000 | Target Version | => 0.8.0 |
| 2020-11-30 07:44 | Alexx2000 | Status | resolved => closed |