Show file dialog option only on Linux
This commit is contained in:
parent
e26085b627
commit
273200adbf
1 changed files with 19 additions and 17 deletions
|
|
@ -466,6 +466,7 @@ void SetupKotatoSystem(
|
||||||
}
|
}
|
||||||
#endif // !DESKTOP_APP_DISABLE_GTK_INTEGRATION
|
#endif // !DESKTOP_APP_DISABLE_GTK_INTEGRATION
|
||||||
|
|
||||||
|
if (Platform::IsLinux()) {
|
||||||
AddButtonWithLabel(
|
AddButtonWithLabel(
|
||||||
container,
|
container,
|
||||||
tr::ktg_settings_file_dialog_type(),
|
tr::ktg_settings_file_dialog_type(),
|
||||||
|
|
@ -483,6 +484,7 @@ void SetupKotatoSystem(
|
||||||
::Kotato::JsonSettings::Write();
|
::Kotato::JsonSettings::Write();
|
||||||
}, false));
|
}, false));
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
if (Platform::IsMac()) {
|
if (Platform::IsMac()) {
|
||||||
const auto useNativeDecorationsToggled = Ui::CreateChild<rpl::event_stream<bool>>(
|
const auto useNativeDecorationsToggled = Ui::CreateChild<rpl::event_stream<bool>>(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue