<p></p>
<p><b>@abmorris</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/2776#discussion_r607104860">src/keyfile.c</a>:</p>
<pre style='color:#555'>> -    load_dialog_prefs(config);
-       load_ui_prefs(config);
-       project_load_prefs(config);
-       configuration_load_session_files(config, TRUE);
-
+       switch (payload)
+       {
+               case PREFERENCES:
+                       load_dialog_prefs(config);
+                       load_ui_prefs(config);
+                       project_load_prefs(config);
+                       break;
+               case SESSION:
+                       configuration_load_session_files(config, TRUE);
+                       break;
+       }
        /* this signal can be used e.g. to delay building UI elements until settings have been read */
        g_signal_emit_by_name(geany_object, "load-settings", config);
</pre>
<p>Added in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/geany/geany/commit/e406c69fe42be285a776e2eaf2888be405df5c7c/hovercard" href="https://github.com/geany/geany/commit/e406c69fe42be285a776e2eaf2888be405df5c7c"><tt>e406c69</tt></a> (also fixed the "double vision" document pane bug). I'll leave this unresolved for you to check over the diff.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2776#discussion_r607104860">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6C5SYJPDG5IPC2C4DTHG7I5ANCNFSM42KJV3OQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ5WEFO724YE5UWQ4NTTHG7I5A5CNFSM42KJV3O2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOEVWHRGY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2776#discussion_r607104860",
"url": "https://github.com/geany/geany/pull/2776#discussion_r607104860",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>