Skip to content
Permalink
Browse files

Merge pull request #3478 from mbernasocchi/patch-2

qgsmessagebar.pushMessage timeout is not respected in python
  • Loading branch information
nyalldawson committed Sep 13, 2016
2 parents 0f07556 + bb4e6b8 commit 6e2d511c2db2b72a3afe4c3c92d3ceb7bb5e93bd
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/gui/qgsmessagebar.sip
@@ -48,9 +48,9 @@ class QgsMessageBar: QFrame
static QgsMessageBarItem* createMessage( QWidget *widget, QWidget *parent = 0 ) /Factory/;

//! convenience method for pushing a message to the bar
void pushMessage( const QString &text, MessageLevel level = INFO, int duration = 0 );
void pushMessage( const QString &text, MessageLevel level = INFO, int duration = 5 );
//! convenience method for pushing a message with title to the bar
void pushMessage( const QString &title, const QString &text, MessageLevel level = INFO, int duration = 0 );
void pushMessage( const QString &title, const QString &text, MessageLevel level = INFO, int duration = 5 );

QgsMessageBarItem *currentItem();

0 comments on commit 6e2d511

Please sign in to comment.
You can’t perform that action at this time.