cleanup
This commit is contained in:
parent
fc91f31d81
commit
08b2e1ca38
2 changed files with 4 additions and 4 deletions
|
|
@ -21,7 +21,7 @@ use iced::wayland::Application as IcedApplication;
|
|||
use iced::window;
|
||||
#[cfg(not(any(feature = "multi-window", feature = "wayland")))]
|
||||
use iced::Application as IcedApplication;
|
||||
use iced_futures::event::{listen_raw, listen_with};
|
||||
use iced_futures::event::listen_with;
|
||||
#[cfg(not(feature = "wayland"))]
|
||||
use iced_runtime::command::Action;
|
||||
#[cfg(not(feature = "wayland"))]
|
||||
|
|
|
|||
|
|
@ -609,9 +609,9 @@ impl<App: Application> ApplicationExt for App {
|
|||
|
||||
#[cfg(not(any(feature = "multi-window", feature = "wayland")))]
|
||||
fn set_window_title(&mut self, title: String) -> iced::Command<Message<Self::Message>> {
|
||||
self.core_mut()
|
||||
.title
|
||||
.insert(self.main_window_id(), title.clone());
|
||||
let id = self.main_window_id();
|
||||
|
||||
self.core_mut().title.insert(id, title.clone());
|
||||
iced::Command::none()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue