2
0
Эх сурвалжийг харах

FIX: QuickView: Not exiting PluginMode when receiving empty string in TfrmViewer.LoadFile() (#683)

rich2014 2 жил өмнө
parent
commit
8d21868557
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      src/fviewer.pas

+ 1 - 0
src/fviewer.pas

@@ -696,6 +696,7 @@ begin
   if dwFileAttributes = faInvalidAttributes then
   begin
     ActivatePanel(pnlFolder);
+    ExitPluginMode;
     memFolder.Font.Color:= clRed;
     memFolder.Lines.Text:= rsMsgErrNoFiles;
     Exit;