mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
Fix widget order in compose controls.
This commit is contained in:
parent
015277c4d3
commit
4e366dc86e
1 changed files with 3 additions and 0 deletions
|
@ -1090,6 +1090,9 @@ void ComposeControls::initWriteRestriction() {
|
||||||
) | rpl::start_with_next([=](const std::optional<QString> &error) {
|
) | rpl::start_with_next([=](const std::optional<QString> &error) {
|
||||||
_writeRestricted->setVisible(error.has_value());
|
_writeRestricted->setVisible(error.has_value());
|
||||||
_wrap->setVisible(!error.has_value());
|
_wrap->setVisible(!error.has_value());
|
||||||
|
if (!error.has_value()) {
|
||||||
|
_wrap->raise();
|
||||||
|
}
|
||||||
}, _wrap->lifetime());
|
}, _wrap->lifetime());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue