Skip to content

Commit

Permalink
Enable ok button even always if hideOutput is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Jul 11, 2012
1 parent f8fdcde commit 15284eb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/gui/qgsrasterlayersaveasdialog.cpp
Expand Up @@ -159,4 +159,9 @@ void QgsRasterLayerSaveAsDialog::hideOutput()
mSaveAsLabel->hide();
mSaveAsLineEdit->hide();
mBrowseButton->hide();
QPushButton* okButton = mButtonBox->button( QDialogButtonBox::Ok );
if ( okButton )
{
okButton->setEnabled( true );
}
}

0 comments on commit 15284eb

Please sign in to comment.