[geary] Application.Client: Fix blank composers being opened with wrong account
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary] Application.Client: Fix blank composers being opened with wrong account
- Date: Sun, 23 Aug 2020 07:51:22 +0000 (UTC)
commit 23f960f861c9921607217ec4bd15645665902d1d
Author: Michael Gratton <mike vee net>
Date: Sun Aug 23 17:44:15 2020 +1000
Application.Client: Fix blank composers being opened with wrong account
Fixes #936
src/client/application/application-client.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/client/application/application-client.vala b/src/client/application/application-client.vala
index 4bf3ae522..cb1f04228 100644
--- a/src/client/application/application-client.vala
+++ b/src/client/application/application-client.vala
@@ -708,7 +708,7 @@ public class Application.Client : Gtk.Application {
public async void new_composer(Geary.RFC822.MailboxAddress? to = null) {
MainWindow main = yield this.present();
AccountContext? account = null;
- if (main.selected_account == null) {
+ if (main.selected_account != null) {
account = this.controller.get_context_for_account(
main.selected_account.information
);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]