Fix file dialog option label
This commit is contained in:
parent
4381472d7f
commit
aec72cf579
1 changed files with 2 additions and 2 deletions
|
|
@ -473,11 +473,11 @@ void SetupKotatoSystem(
|
||||||
|
|
||||||
if (Platform::IsLinux()) {
|
if (Platform::IsLinux()) {
|
||||||
auto fileDialogTypeText = rpl::single(
|
auto fileDialogTypeText = rpl::single(
|
||||||
rpl::empty_value()
|
FileDialogType()
|
||||||
) | rpl::then(
|
) | rpl::then(
|
||||||
FileDialogTypeChanges()
|
FileDialogTypeChanges()
|
||||||
) | rpl::map([] {
|
) | rpl::map([] {
|
||||||
return FileDialogTypeLabel(int(cFileDialogType()));
|
return FileDialogTypeLabel(int(FileDialogType()));
|
||||||
});
|
});
|
||||||
|
|
||||||
AddButtonWithLabel(
|
AddButtonWithLabel(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue