mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 02:01:40 -05:00
Fix IME being interrupted after reconnection
Signed-off-by: Yonsh Lin <yonsh@live.com> (github: yonsh)
This commit is contained in:
parent
a0fbbf2fb6
commit
11a46a1072
1 changed files with 2 additions and 1 deletions
|
@ -460,6 +460,7 @@ void MainWindow::ui_hideMediaPreview() {
|
|||
void MainWindow::showConnecting(const QString &text, const QString &reconnect) {
|
||||
if (_connecting) {
|
||||
_connecting->set(text, reconnect);
|
||||
_connecting->show();
|
||||
} else {
|
||||
_connecting.create(bodyWidget(), text, reconnect);
|
||||
_connecting->show();
|
||||
|
@ -470,7 +471,7 @@ void MainWindow::showConnecting(const QString &text, const QString &reconnect) {
|
|||
|
||||
void MainWindow::hideConnecting() {
|
||||
if (_connecting) {
|
||||
_connecting.destroyDelayed();
|
||||
_connecting->hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue