If the prefs window is already open ad Edit Prefs is called from the menu, bring the
already-opened prefs window to the front and make it active. svn path=/trunk/netsurf/; revision=12792
This commit is contained in:
parent
715a753810
commit
64f0938e8b
|
@ -381,6 +381,13 @@ void ami_gui_opts_open(void)
|
|||
char animspeed[10];
|
||||
struct TextAttr fontsans, fontserif, fontmono, fontcursive, fontfantasy, fontunicode;
|
||||
|
||||
if(gow && gow->win)
|
||||
{
|
||||
WindowToFront(gow->win);
|
||||
ActivateWindow(gow->win);
|
||||
return;
|
||||
}
|
||||
|
||||
if(option_use_pubscreen && option_use_pubscreen[0] != '\0')
|
||||
{
|
||||
if(strcmp(option_use_pubscreen,"Workbench") == 0)
|
||||
|
|
Loading…
Reference in New Issue