From: Jean-Baptiste Kempf Date: Mon, 7 Jul 2008 14:10:47 +0000 (-0700) Subject: Fix behaviour of DVDSimple button while not in DVD opening X-Git-Tag: 0.9.0-test2~129 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=b660dd5cb1c88f15c3d18ad14ad2d7f7c0e99d9d;p=vlc Fix behaviour of DVDSimple button while not in DVD opening --- diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp index ae087c1336..88e5ad6a8f 100644 --- a/modules/gui/qt4/components/open_panels.cpp +++ b/modules/gui/qt4/components/open_panels.cpp @@ -299,6 +299,7 @@ void DiscOpenPanel::updateButtons() ui.chapterLabel->show(); ui.chapterSpin->show(); ui.diskOptionBox_2->show(); + ui.dvdsimple->setEnabled( true ); } else if ( ui.vcdRadioButton->isChecked() ) { @@ -311,6 +312,7 @@ void DiscOpenPanel::updateButtons() ui.chapterLabel->hide(); ui.chapterSpin->hide(); ui.diskOptionBox_2->show(); + ui.dvdsimple->setEnabled( false ); } else /* CDDA */ { @@ -323,6 +325,7 @@ void DiscOpenPanel::updateButtons() ui.chapterLabel->hide(); ui.chapterSpin->hide(); ui.diskOptionBox_2->hide(); + ui.dvdsimple->setEnabled( false ); } updateMRL();