@@ -5,7 +5,7 @@ use crate::player::LaunchOptions;
5
5
use egui:: {
6
6
emath, Align2 , Button , Checkbox , ComboBox , Grid , Layout , Slider , TextEdit , Ui , Widget , Window ,
7
7
} ;
8
- use ruffle_core:: backend:: navigator:: { OpenURLMode , SocketMode } ;
8
+ use ruffle_core:: backend:: navigator:: SocketMode ;
9
9
use ruffle_core:: config:: Letterbox ;
10
10
use ruffle_core:: { LoadBehavior , PlayerRuntime , StageAlign , StageScaleMode } ;
11
11
use ruffle_render:: quality:: StageQuality ;
@@ -405,33 +405,6 @@ impl OpenDialog {
405
405
. ui ( ui, & mut self . options . tcp_connections , locale) ;
406
406
ui. end_row ( ) ;
407
407
408
- // TODO: This should probably be a global setting somewhere, not per load
409
- ui. label ( text ( locale, "open-url-mode" ) ) ;
410
- ComboBox :: from_id_salt ( "open-file-advanced-options-open-url-mode" )
411
- . selected_text ( match self . options . open_url_mode {
412
- OpenURLMode :: Allow => text ( locale, "open-url-mode-allow" ) ,
413
- OpenURLMode :: Confirm => text ( locale, "open-url-mode-confirm" ) ,
414
- OpenURLMode :: Deny => text ( locale, "open-url-mode-deny" ) ,
415
- } )
416
- . show_ui ( ui, |ui| {
417
- ui. selectable_value (
418
- & mut self . options . open_url_mode ,
419
- OpenURLMode :: Allow ,
420
- text ( locale, "open-url-mode-allow" ) ,
421
- ) ;
422
- ui. selectable_value (
423
- & mut self . options . open_url_mode ,
424
- OpenURLMode :: Confirm ,
425
- text ( locale, "open-url-mode-confirm" ) ,
426
- ) ;
427
- ui. selectable_value (
428
- & mut self . options . open_url_mode ,
429
- OpenURLMode :: Deny ,
430
- text ( locale, "open-url-mode-deny" ) ,
431
- ) ;
432
- } ) ;
433
- ui. end_row ( ) ;
434
-
435
408
ui. label ( text ( locale, "load-behavior" ) ) ;
436
409
self . load_behavior
437
410
. ui ( ui, & mut self . options . player . load_behavior , locale) ;
0 commit comments