From 01f2fa51e4db6c90692fcabb0a9566470d1de161 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Mon, 20 Jul 2026 18:29:50 +0800 Subject: [PATCH] patch from https://github.com/LostRuins/koboldcpp/pull/2352 --- koboldcpp.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/koboldcpp.py b/koboldcpp.py index 0fe05c8df..facdf690c 100644 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -8097,8 +8097,13 @@ def show_gui(): resizing = False resizing_id1 = None def actually_resize(windowwidth,windowheight,lastpos,smallratio): + nonlocal gtooltip_box, gtooltip_label root.geometry(str(windowwidth) + "x" + str(windowheight) + str(lastpos)) ctk.set_widget_scaling(smallratio) + if gtooltip_box: + gtooltip_box.destroy() + gtooltip_box = None + gtooltip_label = None update_runmode_gui() togglerope(1,1,1) toggleflashattn(1,1,1)