diff options
| author | Jabiertxof <jabier.arraiza@marker.es> | 2019-06-24 07:09:20 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-07-08 21:04:16 +0000 |
| commit | d51b1f1aa9720d744fa15eb5be3e56ec99b69fa7 (patch) | |
| tree | fccfb3c58653addf13d1b0fd3042d102bdf634d1 /src | |
| parent | fix compiling issue (diff) | |
| download | inkscape-d51b1f1aa9720d744fa15eb5be3e56ec99b69fa7.tar.gz inkscape-d51b1f1aa9720d744fa15eb5be3e56ec99b69fa7.zip | |
Improve scrool on selectors
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/selectorsdialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/dialog/selectorsdialog.cpp b/src/ui/dialog/selectorsdialog.cpp index afe895e6a..9580cd8a1 100644 --- a/src/ui/dialog/selectorsdialog.cpp +++ b/src/ui/dialog/selectorsdialog.cpp @@ -1253,6 +1253,7 @@ void SelectorsDialog::_delSelector() _treeView.get_selection()->set_mode(Gtk::SELECTION_SINGLE); Gtk::TreeModel::iterator iter = refTreeSelection->get_selected(); if (iter) { + _vscrool(); Gtk::TreeModel::Row row = *iter; if (row.children().size() > 2) { return; @@ -1289,6 +1290,7 @@ bool SelectorsDialog::_handleButtonEvent(GdkEventButton *event) if (_treeView.get_path_at_pos(x, y, path, col, x2, y2)) { if (col == _treeView.get_column(0)) { + _vscrool(); Gtk::TreeModel::iterator iter = _store->get_iter(path); Gtk::TreeModel::Row row = *iter; if (!row.parent()) { |
