mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2025-02-25 18:55:26 -06:00
fix: fix press 'Enable Overclocking' will panic (#320)
This commit is contained in:
parent
0dce4b395e
commit
974e6ff442
@ -762,8 +762,10 @@ impl App {
|
||||
.transient_for(&self.window)
|
||||
.build();
|
||||
|
||||
dialog.titlebar().unwrap().set_margin_start(15);
|
||||
dialog.titlebar().unwrap().set_margin_end(15);
|
||||
if let Some(bar) = dialog.titlebar() {
|
||||
bar.set_margin_start(15);
|
||||
bar.set_margin_end(15);
|
||||
}
|
||||
|
||||
dialog
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user