}
if (n != -1 && path)
{
- pan_fullscreen_toggle(pw, TRUE);
+ if (!editor_window_flag_set(n))
+ {
+ pan_fullscreen_toggle(pw, TRUE);
+ }
start_editor_from_file(n, path);
stop_signal = TRUE;
}
path = pan_menu_click_path(pw);
if (path)
{
- pan_fullscreen_toggle(pw, TRUE);
+ if (!editor_window_flag_set(n))
+ {
+ pan_fullscreen_toggle(pw, TRUE);
+ }
start_editor_from_file(n, path);
}
}