]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/entry.cpp
Rebuild Entry when the slider is moved
[libs/gltk.git] / 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();
        }
 }