From 850e09d88806517d0dbac4e711a839a35854f634 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Mon, 27 Mar 2000 20:39:03 +0000 Subject: [PATCH] Must update window width when text changes. --- kdbg/sourcewnd.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kdbg/sourcewnd.cpp b/kdbg/sourcewnd.cpp index 96c3a77..8ab61a4 100644 --- a/kdbg/sourcewnd.cpp +++ b/kdbg/sourcewnd.cpp @@ -635,6 +635,11 @@ void SourceWindow::expandRow(int row) bool autoU = autoUpdate(); setAutoUpdate(false); + // update line widths + for (int i = 0; i < disass.size(); i++) { + updateCellSize(disass[i]); + } + setNumRows(m_texts.size()); setAutoUpdate(autoU); -- 2.11.4.GIT