[client] Address review: settings tab readiness, dock reopen cancel scope, update URL escaping

This commit is contained in:
Zoltán Papp
2026-08-18 15:08:39 +02:00
parent db63ef978f
commit e8eb65b7c4
3 changed files with 6 additions and 4 deletions

View File

@@ -196,12 +196,13 @@ func (s *WindowManager) OpenSettings(tab string) {
s.armReady(s.settings)
}
w := s.settings
if fresh {
ready := s.ready[w.ID()]
if !ready {
s.pendingTab[w.ID()] = target
}
s.mu.Unlock()
if !fresh {
if ready {
s.app.Event.Emit(EventSettingsOpen, target)
}
s.showWhenReady(w)