don't always open "file opened in new browser window" popup
Setting /sim/gui/show-browser-open-hint to false disables the popup. Default is true (show the popup)
This commit is contained in:
parent
2b66cf3484
commit
7a69b9beff
1 changed files with 3 additions and 1 deletions
|
@ -221,7 +221,9 @@ bool openBrowser(const std::string& aAddress)
|
||||||
ok = (system( command.c_str() ) == 0);
|
ok = (system( command.c_str() ) == 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if( fgGetBool("/sim/gui/show-browser-open-hint", true) )
|
||||||
mkDialog("The file is shown in your web browser window.");
|
mkDialog("The file is shown in your web browser window.");
|
||||||
|
|
||||||
return ok;
|
return ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue