Skip to content

Commit

Permalink
finer tuning of style options
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Mar 10, 2018
1 parent 1d0b082 commit f88edea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/editorwidgets/qgsdatetimeedit.cpp
Expand Up @@ -100,6 +100,8 @@ void QgsDateTimeEdit::mousePressEvent( QMouseEvent *event )
{
QStyleOptionComboBox optCombo;
optCombo.init( this );
optCombo.editable = true;
optCombo.subControls = QStyle::SC_All;
control = style()->hitTestComplexControl( QStyle::CC_ComboBox, &optCombo, event->pos(), this );

if ( control == QStyle::SC_ComboBoxArrow && calendarWidget() )
Expand Down

0 comments on commit f88edea

Please sign in to comment.