Mercurial > octave
comparison libgui/src/history-dock-widget.cc @ 21193:577e6936e51d
fix enabling filter of history view when clicking into the widget
* history_dock_widget.cc (construct): do not set the focus proxy to the
line edit of the filter
author | Torsten <ttl@justmail.de> |
---|---|
date | Thu, 04 Feb 2016 22:49:05 +0100 |
parents | 7f568368d247 |
children | 710e700cdd7f |
comparison
equal
deleted
inserted
replaced
21192:a2ee71d42a06 | 21193:577e6936e51d |
---|---|
107 hist_layout->addWidget (_history_list_view); | 107 hist_layout->addWidget (_history_list_view); |
108 | 108 |
109 hist_layout->setMargin (2); | 109 hist_layout->setMargin (2); |
110 widget ()->setLayout (hist_layout); | 110 widget ()->setLayout (hist_layout); |
111 | 111 |
112 setFocusProxy (_filter->lineEdit ()); | |
113 | |
114 // Init state of the filter | 112 // Init state of the filter |
115 QSettings *settings = resource_manager::get_settings (); | 113 QSettings *settings = resource_manager::get_settings (); |
116 | 114 |
117 _filter_shown = settings->value ("history_dock_widget/filter_shown",true).toBool(); | 115 _filter_shown = settings->value ("history_dock_widget/filter_shown",true).toBool(); |
118 _filter_widget->setVisible (_filter_shown); | 116 _filter_widget->setVisible (_filter_shown); |