Skip to content

Commit

Permalink
Properties and separator are Windows only
Browse files Browse the repository at this point in the history
  • Loading branch information
Leinnan committed Aug 30, 2024
1 parent e43d1b4 commit 6b21448
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/app/dock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,14 @@ impl TabViewer for MyTabViewer {
});
ui.close_menu();
}
ui.separator();

#[cfg(windows)]
if ui.button("Properties").clicked() {
crate::windows_tools::open_properties(val.path());
ui.close_menu();
{
ui.separator();
if ui.button("Properties").clicked() {
crate::windows_tools::open_properties(val.path());
ui.close_menu();
}
}
});
let ext = val
Expand Down

0 comments on commit 6b21448

Please sign in to comment.