mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Viewer - call ExitPluginMode when choose graphics mode
This commit is contained in:
parent
92e73bc3b2
commit
f781102688
1 changed files with 1 additions and 0 deletions
|
|
@ -3046,6 +3046,7 @@ procedure TfrmViewer.cm_ShowGraphics(const Params: array of string);
|
|||
begin
|
||||
if CheckGraphics(FileList.Strings[iActiveFile]) then
|
||||
begin
|
||||
ExitPluginMode;
|
||||
ViewerControl.FileName := ''; // unload current file if any is loaded
|
||||
if LoadGraphics(FileList.Strings[iActiveFile]) then
|
||||
ActivatePanel(pnlImage)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue