FIX: Viewer - call ExitPluginMode when choose graphics mode

This commit is contained in:
Alexander Koblov 2021-02-13 09:01:39 +00:00
commit f781102688

View file

@ -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)