From: Mikko Rasa Date: Mon, 23 Sep 2019 18:37:10 +0000 (+0300) Subject: Rebuild Entry when the slider is moved X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=f110b0b16c4e305f009f233dafd0b279949638cd;p=libs%2Fgltk.git Rebuild Entry when the slider is moved --- diff --git a/source/entry.cpp b/source/entry.cpp index 3a91f50..b00fc6b 100644 --- a/source/entry.cpp +++ b/source/entry.cpp @@ -495,6 +495,7 @@ void Entry::slider_value_changed(double value) first_row = text.get_n_lines()-visible_rows-static_cast(value); if(first_row!=old_first_row) signal_scroll_position_changed.emit(first_row); + rebuild(); } }