Skip to content

Commit 934d6c8

Browse files
ismailsunninyalldawson
authored andcommittedMay 19, 2020
Add tooltip for mFixedRangeSetToProjectTimeButton.
1 parent 4744696 commit 934d6c8

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed
 

‎src/gui/qgstemporalcontrollerwidget.cpp

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,13 @@ QgsTemporalControllerWidget::QgsTemporalControllerWidget( QWidget *parent )
8888
whileBlocking( mFixedRangeEndDateTime )->setDateTime( range.end() );
8989
}
9090

91-
mSetToProjectTimeButton->setToolTip( tr( "Match time range to project. \n"
92-
"If a project has no explicit time range set, \n"
93-
"then the range will be calculated based on the \n"
94-
"minimum and maximum dates from any temporal-enabled layers." ) );
91+
QString setToProjectTimeButtonToolTip = tr( "Match time range to project. \n"
92+
"If a project has no explicit time range set, \n"
93+
"then the range will be calculated based on the \n"
94+
"minimum and maximum dates from any temporal-enabled layers." );
95+
96+
mSetToProjectTimeButton->setToolTip( setToProjectTimeButtonToolTip );
97+
mFixedRangeSetToProjectTimeButton->setToolTip( setToProjectTimeButtonToolTip );
9598

9699
for ( QgsUnitTypes::TemporalUnit u :
97100
{

0 commit comments

Comments
 (0)
Please sign in to comment.