]> git.tdb.fi Git - libs/gltk.git/commitdiff
Rebuild Entry when the slider is moved
authorMikko Rasa <tdb@tdb.fi>
Mon, 23 Sep 2019 18:37:10 +0000 (21:37 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 23 Sep 2019 18:54:14 +0000 (21:54 +0300)
source/entry.cpp

index 3a91f50dad4e4178cf308aa88c1a40c603559a68..b00fc6bcdb3e4f4781b7bcb12dcd154a1de8cb61 100644 (file)
@@ -495,6 +495,7 @@ void Entry::slider_value_changed(double value)
                first_row = text.get_n_lines()-visible_rows-static_cast<unsigned>(value);
                if(first_row!=old_first_row)
                        signal_scroll_position_changed.emit(first_row);
+               rebuild();
        }
 }