Skip to content
Permalink
Browse files

avoid closing the last tab of the message log viewer

(cherry picked from commit ee8e340)
  • Loading branch information
jef-n committed Jun 7, 2016
1 parent a58e710 commit fa26ca145cf7a6c73c741f5feae30bb66d013184
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 fa26ca1

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