This commit is contained in:
Soreepeong 2024-08-18 08:12:00 +09:00
parent 0a8f9b73fb
commit 9e95ab8ff7

View file

@ -157,7 +157,11 @@ internal sealed unsafe class DtrBar : IInternalDisposableService, IDtrBar
this.entriesLock.EnterWriteLock();
var entry = new DtrBarEntry(this.configuration, title, null) { Text = text, OwnerPlugin = plugin };
this.entries.Add(entry);
Log.Debug("Adding entry: {what}; owner: {owner}", title, plugin);
Log.Debug(
"Adding entry: {what}; owner: {owner}({id})",
title,
plugin?.InternalName,
plugin?.EffectiveWorkingPluginId);
// Add the entry to the end of the order list, if it's not there already.
var dtrOrder = this.configuration.DtrOrder ??= [];