View Issue Details

IDProjectCategoryView StatusLast Update
0001509Double CommanderGraphical user interfacepublic2020-11-30 07:44
Reportercordylus Assigned ToAlexx2000  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionfixed 
ProjectionnoneETAnone 
Product Version0.7.4 
Target Version0.8.0Fixed in Version0.8.0 
Summary0001509: When you type an address in the address bar and got it wrong, you don't have a chance to correct the typo
DescriptionWhen 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.
TagsNo 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;
bug1509.patch (893 bytes)   
Fixed in Revision7663
Operating system
WidgetsetWin32
Architecture

Activities

Issue History

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