]> git.sesse.net Git - vlc/commitdiff
Fix behaviour of DVDSimple button while not in DVD opening
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 7 Jul 2008 14:10:47 +0000 (07:10 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 7 Jul 2008 16:05:36 +0000 (09:05 -0700)
modules/gui/qt4/components/open_panels.cpp

index ae087c1336af1da972160fdb2f072974cff44e79..88e5ad6a8f33dd551f30ff1f6a8c37a666276c35 100644 (file)
@@ -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();