From: Torsten Dreyer Date: Tue, 22 Dec 2015 10:42:27 +0000 (+0100) Subject: don't always open "file opened in new browser window" popup X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7a69b9beff8581ac3dbd64aefcb959aeed18ac65;p=flightgear.git 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) --- diff --git a/src/GUI/gui_funcs.cxx b/src/GUI/gui_funcs.cxx index a839ae6f2..ce3c79eb0 100644 --- a/src/GUI/gui_funcs.cxx +++ b/src/GUI/gui_funcs.cxx @@ -221,7 +221,9 @@ bool openBrowser(const std::string& aAddress) ok = (system( command.c_str() ) == 0); #endif - mkDialog("The file is shown in your web browser window."); + if( fgGetBool("/sim/gui/show-browser-open-hint", true) ) + mkDialog("The file is shown in your web browser window."); + return ok; }