mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 14:26:39 +02:00
Fix wrong hotlist after upgrade when /upgrade is done with empty hotlist
This commit is contained in:
@@ -460,7 +460,10 @@ upgrade_weechat_load ()
|
||||
|
||||
upgrade_file = upgrade_file_create (WEECHAT_UPGRADE_FILENAME, 0);
|
||||
rc = upgrade_file_read (upgrade_file, &upgrade_weechat_read_cb);
|
||||
|
||||
|
||||
if (!hotlist_reset)
|
||||
gui_hotlist_clear ();
|
||||
|
||||
if (upgrade_set_current_buffer)
|
||||
gui_window_switch_to_buffer (gui_current_window,
|
||||
upgrade_set_current_buffer);
|
||||
|
||||
Reference in New Issue
Block a user