Skip to content
Permalink
Browse files

avoid closing the last tab of the message log viewer

  • Loading branch information
jef-n committed Jun 8, 2016
1 parent fea82ae commit ee8e340d6e84aa91b7b4813e2c0668cc2a6fd5f6
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gui/qgsmessagelogviewer.cpp
@@ -78,5 +78,6 @@ void QgsMessageLogViewer::logMessage( QString message, QString tag, QgsMessageLo

void QgsMessageLogViewer::closeTab( int index )
{
tabWidget->removeTab( index );
if ( tabWidget->count() > 1 )
tabWidget->removeTab( index );
}

0 comments on commit ee8e340

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