Skip to content

Commit 15284eb

Browse files
committed
Enable ok button even always if hideOutput is selected
1 parent f8fdcde commit 15284eb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/gui/qgsrasterlayersaveasdialog.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -159,4 +159,9 @@ void QgsRasterLayerSaveAsDialog::hideOutput()
159159
mSaveAsLabel->hide();
160160
mSaveAsLineEdit->hide();
161161
mBrowseButton->hide();
162+
QPushButton* okButton = mButtonBox->button( QDialogButtonBox::Ok );
163+
if ( okButton )
164+
{
165+
okButton->setEnabled( true );
166+
}
162167
}

0 commit comments

Comments
 (0)