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
|
||||
|
||||
if (Platform::IsLinux()) {
|
||||
AddButtonWithLabel(
|
||||
container,
|
||||
tr::ktg_settings_file_dialog_type(),
|
||||
|
|
@ -483,6 +484,7 @@ void SetupKotatoSystem(
|
|||
::Kotato::JsonSettings::Write();
|
||||
}, false));
|
||||
});
|
||||
}
|
||||
|
||||
if (Platform::IsMac()) {
|
||||
const auto useNativeDecorationsToggled = Ui::CreateChild<rpl::event_stream<bool>>(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue