1
0
Fork 0

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:
Torsten Dreyer 2015-12-22 11:42:27 +01:00
parent 2b66cf3484
commit 7a69b9beff

View file

@ -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;
} }