mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
lsp: Rename show_preview_ui argument to show_preview_toolbar
This commit is contained in:
parent
fd36b17481
commit
01f6771693
1 changed files with 3 additions and 3 deletions
|
|
@ -185,9 +185,9 @@ struct Cli {
|
|||
#[arg(long, action)]
|
||||
fullscreen: bool,
|
||||
|
||||
/// Show the preview UI
|
||||
/// Show the preview toolbar
|
||||
#[arg(long, default_value = "true", action = clap::ArgAction::Set)]
|
||||
show_preview_ui: bool,
|
||||
show_preview_toolbar: bool,
|
||||
}
|
||||
|
||||
enum OutgoingRequest {
|
||||
|
|
@ -348,7 +348,7 @@ fn main_loop(connection: Connection, init_param: InitializeParams, args: &Cli) -
|
|||
#[cfg(all(feature = "preview-builtin", feature = "preview-external"))]
|
||||
use_external_previewer: RefCell::new(false), // prefer internal
|
||||
to_show: RefCell::new(None),
|
||||
show_preview_ui: RefCell::new(args.show_preview_ui),
|
||||
show_preview_ui: RefCell::new(args.show_preview_toolbar),
|
||||
});
|
||||
let mut compiler_config =
|
||||
CompilerConfiguration::new(i_slint_compiler::generator::OutputFormat::Interpreter);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue